ErrorHandler
class ErrorHandler (View source)
Error handler that converts PHP errors and warnings to exceptions.
Properties
static protected | $errorStack |
Methods
static array
getErrorStack()
Returns the error stack.
static false
handleError(int $errno, string $errstr, string $errfile, int $errline)
No description
static Closure
handleErrorOnce(int $severity = E_WARNING)
Registers an error handler and returns a function that will restore the previous handler when invoked