Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

method was throwing an exception when recieving an error (4xx or 5xx)… #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gregberger
Copy link

In guzzle 6.xx, the ClientException (thrown on 4xx responses) and ServerException (thrown on 5xx responses) both extend the BadResponseException, that way it was impossible to test an error in the api (404 or 401, both resulted in a Bad response message

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant