FailureConverter
in package
FinalYes
Table of Contents
Properties
- $logger : LoggerInterface|null
Methods
- mapExceptionToFailure() : Failure
- mapFailureToException() : TemporalFailure
- setLogger() : void
- createFailureException() : TemporalFailure
- generateStackTraceString() : string
- renderTraceAttributes() : string
Properties
$logger
private
static LoggerInterface|null
$logger
Methods
mapExceptionToFailure()
public
static mapExceptionToFailure(Throwable $e, DataConverterInterface $converter) : Failure
Parameters
- $e : Throwable
- $converter : DataConverterInterface
Return values
FailuremapFailureToException()
public
static mapFailureToException(Failure $failure, DataConverterInterface $converter) : TemporalFailure
Parameters
- $failure : Failure
- $converter : DataConverterInterface
Return values
TemporalFailuresetLogger()
public
setLogger(LoggerInterface $logger) : void
Parameters
- $logger : LoggerInterface
createFailureException()
private
static createFailureException(Failure $failure, DataConverterInterface $converter) : TemporalFailure
Parameters
- $failure : Failure
- $converter : DataConverterInterface
Return values
TemporalFailuregenerateStackTraceString()
private
static generateStackTraceString(Throwable $e[, bool $skipInternal = true ]) : string
Parameters
- $e : Throwable
- $skipInternal : bool = true
Return values
stringrenderTraceAttributes()
private
static renderTraceAttributes(array<string|int, mixed> $args) : string
Parameters
- $args : array<string|int, mixed>