-
Creates a new exception.
-
Get the full trace as string.
-
PHP error handler, converts all errors into ErrorExceptions. This handler respects error_reporting settings.
-
Inline exception handler, displays the error message, source of the exception, and the stack trace of the error.
-
shutdownHandler() : voidCatches errors that are not caught by the error handler.
-
public function __construct(variable $message, variable $code, variable $previous)
Creates a new exception.Translate exception's message using the [I18n] class. -
public function getFullTraceAsString(variable $e)
Get the full trace as string. -
public static function errorHandler(int $code, string $message, string $file, int $line, array $context)
PHP error handler, converts all errors into ErrorExceptions. This handler respects error_reporting settings. -
public static function handler(variable $e)
Inline exception handler, displays the error message, source of the exception, and the stack trace of the error. -
public static function shutdownHandler()
Catches errors that are not caught by the error handler.E_PARSE, E_ERROR, E_CORE_ERROR, E_USER_ERROR