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
Properties summary
- $_error protected
\Error
The wrapped error object
Method Summary
Method Detail
__construct() public
__construct(mixed $error)
Wraps the passed Error class
Parameters
-
\Error
$error the Error object
getError() public
getError()
Returns the wrapped error object
Returns
\Error
Property Detail
$_error protected
The wrapped error object
Type
\Error
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.9/class-Cake.Error.PHP7ErrorException.html