TimeoutException
extends ApiException
in package
Table of Contents
- $code : mixed
- $code : string|null
- $errors : mixed
- $errors : array<string|int, FieldError>|null
- $httpBody : string|null
- $httpStatus : int|null
- $jsonBody : mixed
- $message : string
- $message : mixed
- $httpBody : string|null
- $httpStatus : int|null
- $jsonBody : mixed
- __construct() : mixed
- EasyPostException constructor.
- getHttpBody() : string
- Get the HTTP body.
- getHttpStatus() : int
- Get the HTTP status code.
- prettyPrint() : void
- Pretty print the error.
Properties
$code
public
mixed
$code
$code
public
string|null
$code
$errors
public
mixed
$errors
$errors
public
array<string|int, FieldError>|null
$errors
$httpBody
public
string|null
$httpBody
$httpStatus
public
int|null
$httpStatus
$jsonBody
public
mixed
$jsonBody
$message
public
string
$message
$message
protected
mixed
$message
$httpBody
private
string|null
$httpBody
$httpStatus
private
int|null
$httpStatus
$jsonBody
private
mixed
$jsonBody
Methods
__construct()
EasyPostException constructor.
public
__construct([string $message = '' ]) : mixed
Parameters
- $message : string = ''
Return values
mixed —getHttpBody()
Get the HTTP body.
public
getHttpBody() : string
Return values
string —getHttpStatus()
Get the HTTP status code.
public
getHttpStatus() : int
Return values
int —prettyPrint()
Pretty print the error.
public
prettyPrint() : void