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)

No description

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

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 
castSilencedErrorContext(SilencedErrorContext $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

Details

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

Parameters

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

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

Parameters

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

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

Parameters

ErrorException $e
array $a
Stub $stub
$isNested

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

Parameters

ThrowingCasterException $e
array $a
Stub $stub
$isNested

at line line 83
static castSilencedErrorContext(SilencedErrorContext $e, array $a, Stub $stub, $isNested)

Parameters

SilencedErrorContext $e
array $a
Stub $stub
$isNested

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

Parameters

TraceStub $trace
array $a
Stub $stub
$isNested

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

Parameters

FrameStub $frame
array $a
Stub $stub
$isNested