To Err Is Computer

Rules to the Exception

By Casey Driscoll | Tags: ruby, errors | Slides
TL;DR:
Programs crash out when they can't execute statements logically, but the logic to crashes in Ruby is *exceptional*.

Resources

General Computer Errors

  1. What is an Exception?
  2. Why Do Programs Crash?
  3. Understanding Software Bugs
  4. Introduction to Exception Handling
  5. Stack Overflow: Most Common Causes of Crashes

Ruby-Specific Error Handling

  1. Understanding Ruby Exceptions
  2. A Guide to Ruby Error Handling
  3. Rescue, Retry, and Raise in Ruby
  4. Better Error Messages with Pry and Debugging Tools
  5. Common Ruby Exceptions and What They Mean

Table of Contents