Class PHP7ErrorException
Wraps a PHP 7 Error object inside a normal Exception so it can be handled correctly by the rest of the error handling system
- Exception implements Throwable
- Cake\Error\PHP7ErrorException
Properties summary
-
$_error
protectedError
The wrapped error object
Inherited Properties
-
code
,file
,line
,message
Method Summary
-
__construct() public
Wraps the passed Error class -
getError() public
Returns the wrapped error object
Method Detail
__construct() public ¶
__construct( Error $error )
Wraps the passed Error class
Parameters
- Error $error
- the Error object
Overrides
Exception::__construct()