For now let s get you familiar with some of the ways of handling errors in ruby that can help you manage them better.
Ruby error handling best practices.
Feel free to read the metaprogramming.
Ruby exception handling primer for dealing with errors in ruby.
Errors magic variables ruby provides 2 magic variables that are set when an.
Ruby exceptions the execution and the exception always go together.
Ruby hook methods article if you are unfamiliar with the hook methods in ruby.
December 19th 2016 by rivkah standig.
Cleanup before crashing often we have no idea when our program is going to.