Class ApiException
Base exception for responses with http status code different than 200 or 201
- Exception implements Throwable
-
Commercetools\Core\Error\ApiException
Direct known subclasses
Indirect known subclasses
Commercetools\Core\Error\BadGatewayException,
Commercetools\Core\Error\BadRequestException,
Commercetools\Core\Error\NotFoundException,
Commercetools\Core\Error\ServerErrorException,
Commercetools\Core\Error\ServiceUnavailableException,
Commercetools\Core\Error\UnauthorizedException,
Commercetools\Core\Error\ClientErrorException,
Commercetools\Core\Error\ConcurrentModificationException,
Commercetools\Core\Error\ErrorResponseException,
Commercetools\Core\Error\ForbiddenException,
Commercetools\Core\Error\GatewayTimeoutException,
Commercetools\Core\Error\InternalServerErrorException,
Commercetools\Core\Error\InvalidClientCredentialsException,
Commercetools\Core\Error\InvalidTokenException
Methods summary
public
|
#
__construct( $message, Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response = null, Exception $previous = null )
|
public static
|
|
public
Psr\Http\Message\RequestInterface
|
|
public
Psr\Http\Message\ResponseInterface
|
|
public
array
|
|
public
string
|
|
public
string
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()