Status
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
at line 37
StatusCode
code()
Return the status code.
at line 45
string
message()
Return the status message.
at line 53
Status|null
details()
Return the rich error details.
at line 61
bool
isOk()
Determine whether the status is successful.