Skip to content

Fixed the exceptions#410

Merged
cursedcoder merged 1 commit intoKnpLabs:masterfrom
GrahamCampbell:exceptions
Jul 31, 2016
Merged

Fixed the exceptions#410
cursedcoder merged 1 commit intoKnpLabs:masterfrom
GrahamCampbell:exceptions

Conversation

@GrahamCampbell
Copy link
Copy Markdown
Contributor

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


Closes #409.

@Nyholm
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@sagikazarmark
Copy link
Copy Markdown

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