ApiError
in package
Represents an error returned by the ID Analyzer API.
Returned as the second element of the tuple produced by Client::Do()
when the API responds with success === false.
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$code
public
string
$code
$message
public
string
$message
$status
public
int
$status
Methods
__construct()
public
__construct(int $status, string $code, string $message) : mixed
Parameters
- $status : int
-
The HTTP status code associated with the error.
- $code : string
-
The machine-readable API error code.
- $message : string
-
A human-readable description of the error.