Skip to content

Fixed the exceptions #410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 31, 2016
Merged

Fixed the exceptions #410

merged 1 commit into from
Jul 31, 2016

Conversation

GrahamCampbell
Copy link
Contributor

It is a requirement that any exceptions thrown by plugins implement this interface.


Closes #409.

@Nyholm
Copy link
Collaborator

Nyholm commented Jul 30, 2016

I did not know that the exceptions thrown by the plugin must extend the httplug base exception.
I wanted to use these old exceptions to make sure the user does not have to change too much.

Maybe we should revisit the exceptions before 2.0?

👍 for this PR.

@GrahamCampbell
Copy link
Contributor Author

Maybe, yeh. This PR is essential at the moment though.

@sagikazarmark
Copy link

I am not 100% sure about this. I think your originally proposed solution was right. See php-http/client-common#34

@cursedcoder cursedcoder merged commit 653d4fe into KnpLabs:master Jul 31, 2016
@GrahamCampbell GrahamCampbell deleted the exceptions branch July 31, 2016 09:47
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.

4 participants