Skip to content

Conversation

delatbabel
Copy link
Contributor

This PR adds an exception handler so that guzzle errors communicating with the gateway will be translated to the Omnipay exception (InvalidReseponseException). Without this handler the calling code becomes reliant on guzzle.

delatbabel added a commit that referenced this pull request Jan 13, 2016
Adding exception handler, mostly for catching guzzle errors
@delatbabel delatbabel merged commit 08c5f1f into thephpleague:master Jan 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant