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

refactor: exception handling in Rescue macro #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seuros
Copy link
Member

@seuros seuros commented Dec 2, 2024

Introduced a constant DEFAULT_EXCEPTIONS to replace inline definition of exceptions.

Introduced a constant DEFAULT_EXCEPTIONS to replace inline definition of exceptions.
@seuros seuros requested a review from apotonick December 2, 2024 11:51
@apotonick
Copy link
Member

Could you elaborate why this is better? THaaaaanks ☕

@seuros
Copy link
Member Author

seuros commented Dec 6, 2024

1 - the value is frozen and used across all calls.
2 - you can overwrite it in your app if you wish.

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