EXCEPTION_HANDLER
EXCEPTION_HANDLER = "handleException"
pushHandler(Callable|\Whoops\Handler\HandlerInterface $handler) : \Whoops\Run
Pushes a handler to the end of the stack
Callable|\Whoops\Handler\HandlerInterface | $handler |
If argument is not callable or instance of HandlerInterface
popHandler() : null|\Whoops\Handler\HandlerInterface
Removes the last handler in the stack and returns it.
Returns null if there"s nothing else to pop.
clearHandlers() : \Whoops\Run
Clears all handlers in the handlerStack, including the default PrettyPage handler.
register() : \Whoops\Run
Registers this instance as an error handler.
unregister() : \Whoops\Run
Unregisters all handlers registered by this Whoops\Run instance
silenceErrorsInPaths(array|string $patterns, integer $levels = 10240) : \Whoops\Run
Silence particular errors in particular files
array|string | $patterns | List or a single regex pattern to match |
integer | $levels | Defaults to E_STRICT | E_DEPRECATED |
handleError(integer $level, string $message, string $file = null, integer $line = null) : boolean
Converts generic PHP errors to \ErrorException instances, before passing them off to be handled.
This method MUST be compatible with set_error_handler.
integer | $level | |
string | $message | |
string | $file | |
integer | $line |