Ancestors

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 | More toots from lucasm@ruby.social

Descendants

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

This content has been proxied by September (ba2dc).