ErrorHandler
class ErrorHandler implements ErrorHandlerInterface
The standard Asplode error handler.
Methods
Construct a new error handler.
Get the error handler stack.
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.
Handles a PHP error.
Details
at line 34
__construct(
HandlerStackInterface $stack = null,
Isolator $isolator = null)
Construct a new error handler.
at line 53
HandlerStackInterface
stack()
Get the error handler stack.
at line 67
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 84
callable
fallbackHandler()
Get the error handler used as a fallback for errors that are not handled by Asplode.
at line 95
install()
Installs this error handler.
at line 113
uninstall()
Uninstalls this error handler.
at line 131
boolean
isInstalled()
Returns true if this error handler is the top-most handler on the stack.
at line 147
boolean
handle(
integer $severity,
string $message,
string $filename,
integer $lineno)
Handles a PHP error.
at line 173
boolean
__invoke(
integer $severity,
string $message,
string $filename,
integer $lineno)
Handles a PHP error.