class ResponseException extends Exception (View source)

Response exception class

Properties

string $RequestUrl

Request URL

Methods

__construct($requestUrl, int $code, Error $errorInfo = null)

Construct

GetErrorDetails()

Get Error object returned by REST API

int
GetErrorCode()

Get Error code returned by REST API

Details

__construct($requestUrl, int $code, Error $errorInfo = null)

Construct

Parameters

$requestUrl
int $code

Response code

Error $errorInfo

Details with the error

Error GetErrorDetails()

Get Error object returned by REST API

Return Value

Error

int GetErrorCode()

Get Error code returned by REST API

Return Value

int