Created
March 27, 2012 16:42
-
-
Save jasoares/2217790 to your computer and use it in GitHub Desktop.
Ruby Exceptions Hierarchy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object | |
+--Exception | |
+--NoMemoryError | |
+--ScriptError | |
| +--LoadError | |
| +--NotImplementedError | |
| +--SyntaxError | |
+--SecurityError # Was a StandardError in 1.8 | |
+--SignalException | |
| +--Interrupt | |
+--SystemExit | |
+--SystemStackError # Was a StandardError in 1.8 | |
+--StandardError | |
+--ArgumentError | |
+--FiberError # New in 1.9 | |
+--IOError | |
| +--EOFError | |
+--IndexError | |
| +--KeyError # New in 1.9 | |
| +--StopIteration # New in 1.9 | |
+--LocalJumpError | |
+--NameError | |
| +--NoMethodError | |
+--RangeError | |
| +--FloatDomainError | |
+--RegexpError | |
+--RuntimeError | |
+--SystemCallError | |
+--ThreadError | |
+--TypeError | |
+--ZeroDivisionError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment