Toot

Written by Lucas M :ruby: on 2024-10-30 at 17:24

I recently found out that handling error classes in rescue clauses could lead to surprising behaviours when dealing with multiple levels of inheritance.

Here's a little post I wrote on Ruby rescue clause hierarchy:

https://dev.to/lcsm0n/ruby-exception-handling-pitfall-understanding-rescue-clause-hierarchy-cjo

[#]ruby #rails #learning

=> More informations about this toot | View the thread | More toots from lucasm@ruby.social

Mentions

Tags

=> View ruby tag | View rails tag | View learning tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113397536716878873
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
239.517257 milliseconds
Gemini-to-HTML Time
1.302543 milliseconds

This content has been proxied by September (ba2dc).