commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
Public Member Functions | List of all members
Commercetools\Exception\ApiServerException Class Reference
Inheritance diagram for Commercetools\Exception\ApiServerException:
Commercetools\Exception\BadGatewayException Commercetools\Exception\GatewayTimeoutException Commercetools\Exception\InternalServerErrorException Commercetools\Exception\ServiceUnavailableException

Public Member Functions

 __construct ($message, $result, RequestInterface $request, ResponseInterface $response, \Exception $previous=null, array $handlerContext=[])
 
 getResult ()
 

Detailed Description

Definition at line 17 of file ApiServerException.php.

Constructor & Destructor Documentation

◆ __construct()

Commercetools\Exception\ApiServerException::__construct (   $message,
  $result,
RequestInterface  $request,
ResponseInterface  $response,
\Exception  $previous = null,
array  $handlerContext = [] 
)
Parameters
string$message
?JsonObject$result

Definition at line 29 of file ApiServerException.php.

Member Function Documentation

◆ getResult()

Commercetools\Exception\ApiServerException::getResult ( )
Returns
?JsonObject

Definition at line 38 of file ApiServerException.php.


The documentation for this class was generated from the following file: