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
Extended by Cake\Error\PHP7ErrorException
Namespace: Cake\Error
Located at Error/PHP7ErrorException.php

Method Detail

__constructsource public

__construct( Error $error )

Wraps the passed Error class

Parameters

Error $error
the Error object

Overrides

Exception::__construct()

getErrorsource public

getError( )

Returns the wrapped error object

Returns

Error
Error

Properties summary

$_errorsource

protected Error

The wrapped error object

Properties inherited from Exception

$codesource

protected integer

$filesource

protected mixed

$linesource

protected mixed

$messagesource

protected string

''

© 2005–2016 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.
http://api.cakephp.org/3.1/class-Cake.Error.PHP7ErrorException.html