[TYPO3-dev] t3lib_error_Exception

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri Oct 2 09:56:07 CEST 2009


Martin Kutschker schrieb:
> Ernesto Baschny [cron IT] schrieb:
>> But in my eyes we (core developers) should add E_WARNING to see a stack
>> trace and then go and handle these warnings in place:
> 
> I haven't followed the development of the error/exception handling. I have written error handlers
> before and you can do a stack tracing AND still continue. There is no reason to turn errors or
> warnings into exceptions.

Exactly, currently there is no real PHP-error handling, just a "turn
errors into exception" mechanism, and in this construct it is not
possible to do anything.

But as I see, Rupi has already taken over the task, so we might have it
soon. :)

>> For these kind of warnings (something is wrong, but we "catched" it), we
>> should probably use flash messages on top of our output.
> 
> Yes.

Cheers,
Ernesto




More information about the TYPO3-dev mailing list