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

Rupert Germann rupi at gmx.li
Mon Sep 28 17:12:09 CEST 2009


Ernesto Baschny [cron IT] schrieb:
> Rupert Germann schrieb:
>> 1. the error and warning exceptions (class.t3lib_error_warning.php,
>> class.t3lib_error_error.php) should be actually used by the php
>> error_handler (like it is done in Flow3 trunk)

I was wrong here Flow3 checks only if there's a class 
\...\Error\Exception and if not it falls back to \Exception

> This was done before (as it was an auto-backport from FLOW), you changed
> it in your v7 (it was "throw new t3lib_error_Exception", and you changed
> it to "throw new Exception").
 >
> I don't see FLOW3's php error_handler using Error/Warning and
> Error/Error, as it throws "\F3\FLOW3\Error\Exception", as we had it in
> the backported version.

so it seems that class.t3lib_error_error.php and 
class.t3lib_error_warning.php are not needed.
Or do you have an idea how to use them?


greets
rupert


More information about the TYPO3-team-core mailing list