Documentation

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

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
self

equals()

public equals(self|null $that) : bool
Parameters
$that : self|null
Return values
bool

getExceptionClass()

public getExceptionClass() : string
Return values
string

getExceptionCode()

public getExceptionCode() : int|string
Return values
int|string

getExceptionMessage()

public getExceptionMessage() : string
Return values
string

        
On this page

Search results