[TYPO3-ect] Error Object

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Tue Feb 6 14:43:42 CET 2007


Am Tue, 06 Feb 2007 14:12:25 +0100 schrieb Daniel Brüßler:

> Hi Elmar,
> 
> == error-handler ==
> you used the word "ErrorMessenger" - this is a bigger context than just
> an ErrorObject. So I got a question about the "vision" of the
> ErrorObject now:
> 
> This could also have a mode to send a red-alert-message by email to the
> admin.
> 

Hi Daniel,

I think we need to keep the two things apart. I called it error messanger
to point out the difference to a debugging error object you are thinking
of. The "error messanger" doesn't do that much. It carries messages like
"empty value" or "invalid email format" to a HTML form. That is regular
feedback to the user and nothing that is of relavance for the admin or so.
Maybe it should be combined with the validator. But the validator is only
one source of error messages for the form user. The other source is the
model. That's the reson I am thinking of a common error object for model
and validator.

I want the names of the basical API functions stable before we go to beta.
I count the basics of the FE forms into this. So we need this object
before beta.

The debugging error object or messanger is what you have in mind. That
would be very helpful for development and it would be a big contribution
for the future popularity of lib/div. But it is not an elementary
prerequest for to go to beta. 


Regards

Elmar












More information about the TYPO3-team-extension-coordination mailing list