Table of Contents
Properties
-
$response
: array<string|int, mixed>|null
-
$status
: int|null
Methods
-
__construct()
: mixed
-
fromResponse()
: self
$response
read-only
public
array<string|int, mixed>|null
$response
= null
$status
read-only
public
int|null
$status
= null
__construct()
public
__construct(string $message[, int|null $status = null ][, array<string, mixed>|array<int, mixed>|null $response = null ][, Throwable|null $previous = null ]) : mixed
Parameters
-
$message
: string
-
-
$status
: int|null
= null
-
-
$response
: array<string, mixed>|array<int, mixed>|null
= null
-
-
$previous
: Throwable|null
= null
-
fromResponse()
public
static fromResponse(int $status, array<string, mixed>|array<int, mixed>|null $response, string $rawBody) : self
Parameters
-
$status
: int
-
-
$response
: array<string, mixed>|array<int, mixed>|null
-
-
$rawBody
: string
-