Class Error
Object representation of an error
- ArrayObject implements IteratorAggregate, Traversable, ArrayAccess, Serializable, Countable
-
AloFramework\Handlers\Error
Namespace: AloFramework\Handlers
Author: Art a.molcanovas@gmail.com
Since:
Located at class/Error.php
Author: Art a.molcanovas@gmail.com
Since:
1.4 __get() added
1.3 shouldBeReported(), $map
1.2
Located at class/Error.php
Methods summary
public
|
#
__construct( integer|array $typeOrData, string $message = null, string $file = null, integer $line = null )
Constructor |
public static
boolean
|
#
shouldBeReported( integer $errcode, integer $reportingSettings = null )
Checks if an error should be reported |
public
mixed
|
|
public
boolean
|
|
public
integer
|
|
public
string
|
|
public
string
|
|
public
integer
|
|
public
boolean
|
|
public
string
|
Methods inherited from ArrayObject
append(),
asort(),
count(),
exchangeArray(),
getArrayCopy(),
getFlags(),
getIterator(),
getIteratorClass(),
ksort(),
natcasesort(),
natsort(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
serialize(),
setFlags(),
setIteratorClass(),
uasort(),
uksort(),
unserialize()
Constants summary
Constants inherited from ArrayObject
Properties summary
public static
array
|
$map
Error code/label map |
#
[E_NOTICE => 'NOTICE',
E_USER_NOTICE => 'USER NOTICE',
E_CORE_ERROR => 'CORE ERROR',
E_ERROR => 'ERROR',
E_USER_ERROR => 'USER ERROR',
E_COMPILE_ERROR => 'COMPILE ERROR',
E_RECOVERABLE_ERROR => 'RECOVERABLE ERROR',
E_DEPRECATED => 'DEPRECATED',
E_USER_DEPRECATED => 'USER DEPRECATED',
E_WARNING => 'WARNING',
E_USER_WARNING => 'USER WARNING',
E_STRICT => 'STRICT',
E_CORE_WARNING => 'CORE WARNING']
|
Magic properties
public
integer
|
$line
Error line |
public
string
|
$file
Error file |
public
string
|
$message
Error message |
public
integer
|
$type
Error code |