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
Namespace: Cake\Error
Property Summary
-
$_error protected
Error
The wrapped error object
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