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

Add option to define a callback when no match is found. #2

Open
jorisvaesen opened this issue Jul 28, 2023 · 0 comments
Open

Add option to define a callback when no match is found. #2

jorisvaesen opened this issue Jul 28, 2023 · 0 comments

Comments

@jorisvaesen
Copy link
Owner

At this point it is possible to re-throw the exception when no matching handler is found.
It could come in handy to have a noMatch() function with a callback parameter which gets executed when no matching handler is found.

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

No branches or pull requests

1 participant