final class Status

Methods

__construct(StatusCode $code, string $message = '', Status|null $details = null)

No description

StatusCode
code()

Return the status code.

string
message()

Return the status message.

Status|null
details()

Return the rich error details.

bool
isOk()

Determine whether the status is successful.

Details

at line 14
__construct(StatusCode $code, string $message = '', Status|null $details = null)

No description

Parameters

StatusCode $code
string $message
Status|null $details

at line 37
StatusCode code()

Return the status code.

Return Value

StatusCode

at line 45
string message()

Return the status message.

Return Value

string

at line 53
Status|null details()

Return the rich error details.

Return Value

Status|null

at line 61
bool isOk()

Determine whether the status is successful.

Return Value

bool