Class ExceptionListener
Converts generic Guzzle response exceptions into AWS specific exceptions
- Aws\Common\Exception\ExceptionListener implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Methods summary
-
public__construct ( Aws\Common\Exception\ExceptionFactoryInterface $factory ) -
public staticgetSubscribedEvents ( ) -
publiconRequestError ( Guzzle\Common\Event $event )Throws a more meaningful request exception if available
Methods detail
Parameters
- $factory
Aws\Common\Exception\ExceptionFactoryInterface
$factory Factory used to create exceptions
Throws a more meaningful request exception if available
Parameters
- $event
Guzzle\Common\Event
$event Event emitted
Magic methods summary
Properties summary
protected
|
$factory |
#
Factory used to create new exceptions |