ApiExceptionFactory
in package
Class ApiExceptionFactory
Tags
Table of Contents
Methods
- createException() : ApiException
- Create exception from API response.
Methods
createException()
Create exception from API response.
public
createException(ResponseInterface $errorResponse[, int $statusCode = 0 ][, Throwable|null $previous = null ]) : ApiException
Parameters
- $errorResponse : ResponseInterface
- $statusCode : int = 0
- $previous : Throwable|null = null