Sorry for the off topic question, but I still think this list is one of the
better places to ask fairly detailed O-O questions.

I'm working on a new File Uploading module, and there are several cases when
an error might be returned to the user, ie, 'File Selected for Upload does
not exists', 'File type (extension) not allowed', 'File size too large',
'Disk quota exceeded', 'Unspecified error during upload' or 'File already
exists (not in force over-write mode)'.

I want a way to be able to return these error messages to whoever is using
the module in a way that they can test for error message existence easily. I
also want to keep the object interface nice and clean. Any suggestions on a
good way to return error messages to the programmer so they can do with them
what they see fit?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to