[TYPO3-dev] Exceptions
Steffen Kamper
info at sk-typo3.de
Mon Aug 18 01:39:13 CEST 2008
Hi,
Ingo started in core with Exceptions. Now while reading documentation i
found this piece of code in examples that vonverts php notices and
errors to exceptions:
set_error_handler(create_function('$x, $y', 'throw new Exception($y,
$x);'), E_ALL & ~E_NOTICE);
Because core throws many Notices, this may help to created a good
exception handler which isn't done yet.
vg Steffen
More information about the TYPO3-dev
mailing list