By Avdi Grimm
Unheard of Ruby is an in-depth advisor to exceptions and failure dealing with in Ruby. Over a hundred pages of content material and dozens of operating examples hide every thing from the mechanics of the way exceptions paintings to tips on how to layout a strong failure administration structure in your app or library. even if you're a Ruby amateur or a professional veteran, unparalleled Ruby can help you write cleanser, extra resilient Ruby code.
What you are going to Find:
a close examine the lifecycle of a Ruby exception.
Overriding Kernel#raise for enjoyable and profit.
possible choices to exceptions, for whilst "fail quickly" is not the correct answer.
how you can write a crash logger.
complicated dynamic exception matching in rescue clauses.
heading off failure cascades with the Barricade and Circuit Breaker patterns.
five inquiries to ask ahead of elevating an exception.
Exception defense checking out for serious methods.
tips on how to create an mistakes API in your library that might make different builders are looking to kiss you.
the three exception sessions each app or library needs.
and lots more and plenty, a lot more... over a hundred pages of tips, guidance, and outstanding hacks!