Class rex_error_handler

Abstract
Package: redaxo\core
Located at redaxo/src/core/lib/error_handler.php

Methods summary

public static
# register( )

Registers the class as php-error/exception handler.

public static
# unregister( )

Unregisters the logger instance as php-error/exception handler.

public static
# handleException( Throwable|Exception $exception )

Handles the given Exception.

public static
# handleError( integer $errno, string $errstr, string $errfile, integer $errline )

Handles a error message.

public static
# shutdown( )

Shutdown-handler which is called at the very end of the request.

public static string
# getErrorType( integer $errno )

Get a human readable string representing the given php error code.