ApiException
class ApiException extends RuntimeException
A RequestException is thrown when an errors occurs while communicating with the API.
Methods
__construct(RequestException $previous, string $message = '')
RequestException constructor.
RequestInterface
getRequest()
Get the request that caused the exception.
ResponseInterface|null
getResponse()
Get the associated response.
bool
hasResponse()
Check if a response was received.
string|null
getRequestId()
No description
Details
at line 46
__construct(RequestException $previous, string $message = '')
RequestException constructor.
at line 85
RequestInterface
getRequest()
Get the request that caused the exception.
at line 95
ResponseInterface|null
getResponse()
Get the associated response.
at line 105
bool
hasResponse()
Check if a response was received.