Documentation

FailureResponse extends Response
in package
implements FailureResponseInterface

FinalYes

Carries failure response.

Table of Contents

Interfaces

FailureResponseInterface
Carries requests and responses between worker and host process.

Properties

$failure  : Throwable
$historyLength  : int
$id  : string|int

Methods

__construct()  : mixed
getFailure()  : Throwable
getHistoryLength()  : int<0, max>
getID()  : string|int

Properties

$historyLength read-only

private int $historyLength

Methods

__construct()

public __construct(Throwable $failure, string|int $id[, int<0, max> $historyLength = 0 ]) : mixed
Parameters
$failure : Throwable
$id : string|int
$historyLength : int<0, max> = 0

getFailure()

public getFailure() : Throwable
Return values
Throwable

getHistoryLength()

public getHistoryLength() : int<0, max>
Return values
int<0, max>

getID()

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

        
On this page

Search results