Skip to content

Update context fail to allow custom exceptions - #6

Closed
gpassarelli wants to merge 1 commit into
deefour:masterfrom
gpassarelli:master
Closed

gpassarelli wants to merge 1 commit into
deefour:masterfrom
gpassarelli:master

Conversation

@gpassarelli

Copy link
Copy Markdown

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

deefour commented Oct 16, 2016

Copy link
Copy Markdown
Owner

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.

2 participants