[FLOW3-general] Error-Suppression

Robert Lemke robert at typo3.org
Tue Aug 30 17:22:14 CEST 2011


Hi Ferdinand,

Am 30.08.2011 um 17:14 schrieb Ferdinand Kuhl:

> how could one temporarily disable the error-handling? The common "@" is 
> ignored by the error-handler.
> 
> I know: Ignoring errors is not good style, but sometimes you have to 
> integrate foreign code... (PEAR in my case).

You can define the error levels in your Settings.yaml – here's the default:

TYPO3:
  FLOW3:
    error:
      errorHandler:

        # Defines which errors should result in an exception thrown - all other error
        # levels will be silently ignored. Only errors that can be handled in an
        # user-defined error handler are affected, of course.
        exceptionalErrors: [%E_USER_ERROR%, %E_RECOVERABLE_ERROR%]

Cheers,
Robert



More information about the FLOW3-general mailing list