Runtime exceptions in production systems are frustrating on the best of days, but things get extra complicated in the context of a distributed systems architecture. Today, guest chef Hiro Asari …
Tag: exceptions
Episode #490: Crash Logger
Learn how to log useful diagnostics when your Ruby program crashes.
Episode #304: Custom Exception
In this episode, we begin defining our own custom exceptions for our apps or modules.
Episode #257: Retry
In this episode we'll see how Ruby lets us retry operations without resorting to a loop.
Episode #188: Fail And Raise
Today's episode is about a semantic convention for error handling that I learned from Jim Weirich.
Episode #166: Not Implemented
Ruby doesn't have a built-in concept of "abstract" classes, but sometimes we want a way to show other programmers when methods are left as an exercise for the implementor. This …
Episode #022: Inline Rescue
Putting a rescue at the end of a line can get you into unexpected trouble. In this episode we'll look at why, as well as at the one case where …