ErrorHandlerInterface
interface ErrorHandlerInterface
The interface implemented by Asplode error handlers.
Methods
Set an error handler to use as a fallback for errors that are not handled by Asplode.
Get the error handler used as a fallback for errors that are not handled by Asplode.
Installs this error handler.
Uninstalls this error handler.
Returns true if this error handler is the top-most handler on the stack.
Handles a PHP error.
Details
at line 33
setFallbackHandler(
callable|null $fallbackHandler = null)
Set an error handler to use as a fallback for errors that are not handled by Asplode.
Errors not handled by Asplode include deprecation messages, and '@' suppressed errors.
at line 41
callable
fallbackHandler()
Get the error handler used as a fallback for errors that are not handled by Asplode.
at line 49
install()
Installs this error handler.
at line 56
uninstall()
Uninstalls this error handler.
at line 63
boolean
isInstalled()
Returns true if this error handler is the top-most handler on the stack.
at line 76
boolean
handle(
integer $severity,
string $message,
string $filename,
integer $lineno)
Handles a PHP error.