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
protectedThe wrapped error objectError
Inherited Properties
-
code
,file
,line
,message
Method Summary
- __construct() publicWraps the passed Error class
- getError() publicReturns the wrapped error object
Method Detail
__construct()source public
__construct( Error $error )
Wraps the passed Error class
Parameters
- Error
$error
- the Error object
Overrides
Exception::__construct()
Properties detail
© 2005–2017 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.4/class-Cake.Error.PHP7ErrorException.html