Fully Qualified Name: | Zend\Stdlib\ErrorHandler |
ErrorHandler that can be used to catch internal PHP errors and convert to an ErrorException instance.
Name | Description | Defined By |
---|---|---|
addError() | Add an error to the stack | ErrorHandler |
clean() | Stop all active handler | ErrorHandler |
getNestedLevel() | Get the current nested level | ErrorHandler |
start() | Starting the error handler | ErrorHandler |
started() | Check if this error handler is active | ErrorHandler |
stop() | Stopping the error handler | ErrorHandler |
Add an error to the stack
Parameter Name | Type | Description |
---|---|---|
$errno | int | |
$errstr | string | |
$errfile | string | |
$errline | int |
Returns: void
Stop all active handler
Returns: void
Get the current nested level
Returns: int
Starting the error handler
Parameter Name | Type | Description |
---|---|---|
$errorLevel | int |
Returns:
Check if this error handler is active
Returns: bool
Stopping the error handler
Parameter Name | Type | Description |
---|---|---|
$throw | bool | Throw |
Returns: null|\ErrorException