Level-up `rescue` with dynamic exception matchers
When you use a rescue clause in Ruby, you can specify what kinds of exceptions you want to rescue. But what if you want to rescue exceptions by severity? By message? By time of day? In this post we’ll discuss how you can create dynamic exception matchers that use your logic to decide if an exception gets rescued. http://blog.honeybadger.io/level-up-ruby-rescue-with-dynamic-exception-matchers/
Post a comment