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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creates an exception factory #259

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

huchim
Copy link

@huchim huchim commented May 7, 2021

This PR is just to suggest an error factory strategy suggested in feature request #250

It doesn't covers all exceptions because I want to know if this can help or not.

It creates an exception factory in order to throw specific exceptions and user can handle exceptions without to compare messages

I added a test file and an example usage.

Thanks 馃槃

List of common tasks a pull request require complete

  • Changelog entry is added or the pull request don't alter library's functionality

huchim added 2 commits May 7, 2021 11:48
It creates an exception factory in order to throw specific exceptions and user can handle exceptions without to compare messages

None
This PR is just to suggest an error factory suggested in feature request jumbojett#250  It doesn't covers all exceptions because I want to know if this can help or not.  It creates an exception factory in order to throw specific exceptions and user can handle exceptions without to compare messages
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

1 participant