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

Do not rescue MatchErrors in CLI #212

Merged
merged 2 commits into from
Feb 24, 2024
Merged

Conversation

nappex
Copy link
Collaborator

@nappex nappex commented Feb 24, 2024

fix #211

@Glutexo Glutexo changed the title Do not rescue matchErrors in CLI Do not rescue MatchErrors in CLI Feb 24, 2024
Instead of pattern matching causing a MatchError, use case directly
matching pattern for the happy path and for the invalid argument path.
Copy link
Owner

@Glutexo Glutexo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@nappex nappex merged commit f3b0a4b into Glutexo:master Feb 24, 2024
1 check passed
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.

Don’t rescue MatchErrors
2 participants