ErrorHandler that can be used to catch internal PHP errors and convert to an ErrorException instance.
addError(int $errno, string $errstr, string $errfile, int $errline) : void
int
string
string
int
clean() : void
getNestedLevel() : int
int
start(int $errorLevel)
int
started() : bool
bool
stop(bool $throw) : null | \ErrorException
bool
Throw the ErrorException if any
\ErrorException |
If an error has been catched and $throw is true |
---|
null
\ErrorException
$stack : array