\Cake\ErrorPHP7ErrorException

Wraps a PHP 7 Error object inside a normal Exception so it can be handled correctly by the rest of the error handling system

Summary

Methods
Properties
Constants
__construct()
getError()
No public properties found
No constants found
No protected methods found
$_error
N/A
No private methods found
No private properties found
N/A

Properties

$_error

$_error : \Error

The wrapped error object

Type

\Error

Methods

__construct()

__construct(\Error  $error) 

Wraps the passed Error class

Parameters

\Error $error

the Error object

getError()

getError() : \Error

Returns the wrapped error object

Returns

\Error