class ExceptionCaster

Casts common Exception classes to array representation.

Properties

static $srcContext
static $traceArgs
static $errorTypes

Methods

static 
castError(Error $e, array $a, Stub $stub, $isNested, $filter = 0)

No description

static 
castException(Exception $e, array $a, Stub $stub, $isNested, $filter = 0)

No description

static 
castErrorException(ErrorException $e, array $a, Stub $stub, $isNested)

No description

static 
castThrowingCasterException(ThrowingCasterException $e, array $a, Stub $stub, $isNested)

No description

static 
castTraceStub(TraceStub $trace, array $a, Stub $stub, $isNested)

No description

static 
castFrameStub(FrameStub $frame, array $a, Stub $stub, $isNested)

No description

static 
filterTrace($trace, $dumpArgs, $offset = 0) deprecated

No description

Details

at line 44
static castError(Error $e, array $a, Stub $stub, $isNested, $filter = 0)

Parameters

Error $e
array $a
Stub $stub
$isNested
$filter

at line 49
static castException(Exception $e, array $a, Stub $stub, $isNested, $filter = 0)

Parameters

Exception $e
array $a
Stub $stub
$isNested
$filter

at line 54
static castErrorException(ErrorException $e, array $a, Stub $stub, $isNested)

Parameters

ErrorException $e
array $a
Stub $stub
$isNested

at line 63
static castThrowingCasterException(ThrowingCasterException $e, array $a, Stub $stub, $isNested)

Parameters

ThrowingCasterException $e
array $a
Stub $stub
$isNested

at line 83
static castTraceStub(TraceStub $trace, array $a, Stub $stub, $isNested)

Parameters

TraceStub $trace
array $a
Stub $stub
$isNested

at line 135
static castFrameStub(FrameStub $frame, array $a, Stub $stub, $isNested)

Parameters

FrameStub $frame
array $a
Stub $stub
$isNested

at line 194
static filterTrace($trace, $dumpArgs, $offset = 0) deprecated

deprecated since 2.8, to be removed in 3.0. Use the castTraceStub method instead.

Parameters

$trace
$dumpArgs
$offset