[TYPO3-core] RFC #9355: Add an error and exception handler (backported from FLOW3)

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Sep 29 23:01:56 CEST 2009


Steffen Kamper schrieb:
> Hi,
> 
> Francois Suter schrieb:
>> Hi,
>>
>>> FYI: committed to trunk rev 6066
>>
>> I'm not sure what needs to be documented here. Probably how to throw
>> proper exceptions using the base class, but most importantly the
>> different exception handlers (I didn't follow the whole thread, maybe
>> there aren't 2 anymore). I would put this in the Core APIs, for want
>> of a better place for now (I don't despair about having something like
>> an administrator's guide).
>>
> 
> i don't think there is much to be documented. It's enabled or not, it
> shows any exception like "throw new exception(msg);", that's all.

I would document some basic stuff in NEWS.txt for now, and improve it
later if something gets added or changed in the way we deal with
exceptions. Our usage might change once we start replacing die() calls
with exceptions.

Core API should be the right place for this.

FLOW3 docs on exceptions is also still empty, btw.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list