commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
Static Public Member Functions | List of all members
Commercetools\Exception\ExceptionFactory Class Reference

Static Public Member Functions

static createServerException (ServerException $e, ApiRequest $request, ?ResponseInterface $response, ?JsonObject $result)
 
static createClientException (ClientException $e, ApiRequest $request, ?ResponseInterface $response, ?JsonObject $result)
 

Detailed Description

Definition at line 19 of file ExceptionFactory.php.

Member Function Documentation

◆ createClientException()

static Commercetools\Exception\ExceptionFactory::createClientException ( ClientException  $e,
ApiRequest  $request,
?ResponseInterface  $response,
?JsonObject  $result 
)
static

Definition at line 50 of file ExceptionFactory.php.

◆ createServerException()

static Commercetools\Exception\ExceptionFactory::createServerException ( ServerException  $e,
ApiRequest  $request,
?ResponseInterface  $response,
?JsonObject  $result 
)
static

Definition at line 21 of file ExceptionFactory.php.


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