RetailCRM API Client

ApiErrorException extends ApiException
in package

Class ApiErrorException

Tags
category

ApiErrorException

Table of Contents

Methods

__construct()  : mixed
ApiException constructor.
__toString()  : string
API exception must implement valid __toString() method.
getErrorResponse()  : ErrorResponse
Returns ErrorResponse.
getStatusCode()  : int
Returns response status code

Methods

__construct()

ApiException constructor.

public __construct(ResponseInterface $errorResponse[, int $statusCode = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
$errorResponse : ResponseInterface
$statusCode : int = 0
$previous : Throwable|null = null

__toString()

API exception must implement valid __toString() method.

public __toString() : string
Return values
string

getStatusCode()

Returns response status code

public getStatusCode() : int
Return values
int

        
On this page

Search results