ErrorHandler that can be used to catch internal PHP errors and convert to a ErrorException instance.
Check if this error handler is active
| Return type: | boolean |
|---|
Starting the error handler
| Parameters: | int – |
|---|
Stopping the error handler
| Parameters: | bool – Throw the ErrorException if any |
|---|---|
| Return type: | null|ErrorException |
| Throws : | ErrorException If an error has been catched and $throw is true |
Stop all active handler
| Return type: | void |
|---|