MindeeV2HttpException
extends MindeeException
in package
Exceptions relating to HTTP errors for the V2 API.
Table of Contents
Properties
- $detail : string|null
- $errorCode : string|null
- $errors : array<string|int, mixed>
- $status : int
- $title : string|null
Methods
- __construct() : mixed
Properties
$detail
public
string|null
$detail
Details on the exception.
$errorCode
public
string|null
$errorCode
Error code.
Note: PHP's RuntimeException class uses $code for the error code.
$errors
public
array<string|int, mixed>
$errors
List of associated errors.
$status
public
int
$status
Status code as sent by the server.
$title
public
string|null
$title
Title of the error.
Methods
__construct()
public
__construct(ErrorResponse $response) : mixed
Parameters
- $response : ErrorResponse
-
Server Error response.