ErrorDetailsStamp
in package
implements
StampInterface
FinalYes
Stamp applied when a messages fails due to an exception in the handler.
Table of Contents
Interfaces
- StampInterface
- An envelope stamp related to a message.
Properties
- $exceptionClass : string
- $exceptionCode : int|string
- $exceptionMessage : string
- $flattenException : mixed
Methods
- __construct() : mixed
- create() : self
- equals() : bool
- getExceptionClass() : string
- getExceptionCode() : int|string
- getExceptionMessage() : string
- getFlattenException() : FlattenException|null
Properties
$exceptionClass
private
string
$exceptionClass
$exceptionCode
private
int|string
$exceptionCode
$exceptionMessage
private
string
$exceptionMessage
$flattenException
private
mixed
$flattenException
Methods
__construct()
public
__construct(string $exceptionClass, int|string $exceptionCode, string $exceptionMessage[, FlattenException $flattenException = null ]) : mixed
Parameters
- $exceptionClass : string
- $exceptionCode : int|string
- $exceptionMessage : string
- $flattenException : FlattenException = null
create()
public
static create(Throwable $throwable) : self
Parameters
- $throwable : Throwable
Return values
selfequals()
public
equals(self|null $that) : bool
Parameters
- $that : self|null
Return values
boolgetExceptionClass()
public
getExceptionClass() : string
Return values
stringgetExceptionCode()
public
getExceptionCode() : int|string
Return values
int|stringgetExceptionMessage()
public
getExceptionMessage() : string
Return values
stringgetFlattenException()
public
getFlattenException() : FlattenException|null