Skip to content

refactor: exception handling in Rescue macro#54

Open
seuros wants to merge 1 commit intotrailblazer:masterfrom
seuros:master
Open

refactor: exception handling in Rescue macro#54
seuros wants to merge 1 commit intotrailblazer:masterfrom
seuros:master

Conversation

@seuros
Copy link
Copy Markdown
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
Copy Markdown
Member

Could you elaborate why this is better? THaaaaanks ☕

@seuros
Copy link
Copy Markdown
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