Documentation

ExceptionListener
in package
implements EventSubscriberInterface

Converts generic Guzzle response exceptions into AWS specific exceptions

Table of Contents

Interfaces

EventSubscriberInterface
An EventSubscriber knows himself what events he is interested in.

Properties

$factory  : ExceptionFactoryInterface

Methods

__construct()  : mixed
getSubscribedEvents()  : array<string|int, mixed>
Returns an array of event names this subscriber wants to listen to.
onRequestError()  : mixed
Throws a more meaningful request exception if available

Properties

Methods

getSubscribedEvents()

Returns an array of event names this subscriber wants to listen to.

public static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>

The event names to listen to

onRequestError()

Throws a more meaningful request exception if available

public onRequestError(Event $event) : mixed
Parameters
$event : Event

Event emitted


        
On this page

Search results