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
intstart(int $errorLevel)
int
started() : bool
boolstop(bool $throw) : null | \ErrorException
boolThrow the ErrorException if any
\ErrorException |
If an error has been catched and $throw is true |
|---|
null\ErrorException
$stack : array