ExceptionFactoryInterface
in
Interface used to create AWS exception
Table of Contents
Methods
- fromResponse() : Exception|AwsExceptionInterface
- Returns an AWS service specific exception
Methods
fromResponse()
Returns an AWS service specific exception
public
fromResponse(RequestInterface $request, Response $response) : Exception|AwsExceptionInterface
Parameters
- $request : RequestInterface
-
Unsuccessful request
- $response : Response
-
Unsuccessful response that was encountered