Allows throwing a response from virtually anywhere

Installs: 2 858

Dependents: 2

Stars: 2

Watchers: 11

Forks: 0

Open Issues: 0

Type: symfony-bundle

0.1.3 2014-08-08 07:54 UTC


Hooks into the deepest level of Symfony exceptions to allow throwing an UnexpectedResponseException, which is caught and forwarded to the client.

This means that you can throw an exception from any level in code, current code flow is aborted, and the response object passed to the UnexpectedResponseException is sent back to the client.