Class Error
An incident stores information over the cause of a fault.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\Fault\Incident
- Core\Fault\Incident\Error
Package: Core\Fault
Since: 3.2
Requires: PHP 5.3
Version: 1.0
Located at Fault/Incident/Error.inc.php
Methods summary
public static
|
#
last( array $codeFilter = null )
Returns an error incident instance for the last occurred PHP error. |
public static
int[]
|
|
public
|
|
public
integer
|
|
public
string
|
|
public
integer
|
|
public
string
|
|
public
string
|
|
public
|
|
public
boolean
|
#
recoverable( )
Determines whether the incident is recoverable, i.e. whether execution can continue. |
public
boolean
|
|
public
array
|
|
public
string
|
Methods inherited from Core\Fault\Incident
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
__toString()
,
attachMethod()
,
chain()
,
getValueForKey()
,
getValueForKeyPath()
,
getValueForUndefinedKey()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
Constants inherited from Core\Fault\Incident
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
protected
array
|
$_v_raw
{@inheritdoc} |
Properties inherited from Core\Fault\Incident
Magic properties inherited from Core\Fault\Incident
$code
,
$filename
,
$line
,
$message
,
$previous
,
$raw
,
$silent
,
$timestamp
,
$trace
,
$type