Skip to content
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

Update context fail to allow custom exceptions #6

Closed
wants to merge 1 commit into from

Conversation

gpassarelli
Copy link

Sometimes you might want to throw a specific exception and to handle it properly on you catch instead of having just a plain text message, so with this PR you can fail the context to be able to check of the context was success or not, but still being able to throw your own exception instead of always getting a Failure expception

Sometimes you might want to throw a specific exception and to handle it properly  on you catch instead of having just a plain text message, so with this PR you can fail the context to be able to check of the context was success or not, but still being able to throw your own exception instead of always getting a Failure expception
@deefour deefour closed this in ef84d43 Oct 16, 2016
@deefour
Copy link
Owner

deefour commented Oct 16, 2016

Thanks for this. I gave you a shoutout in the changelog.

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.

None yet

2 participants