Ruby Exception Class Hierarchy

Posted Over 12 years ago. Visible to the public.

This note summarizes the ruby exception Show archive.org snapshot hierarchy.

Exception
  NoMemoryError
  ScriptError
    LoadError
    NotImplementedError
    SyntaxError
  SignalException
    Interrupt
      Timeout::Error    # < ruby 1.9.2
  StandardError         # caught by rescue (default if no type was specified)
    ArgumentError
    IOError
      EOFError
    IndexError
    LocalJumpError
    NameError
      NoMethodError
    RangeError
      FloatDomainError
    RegexpError
    RuntimeError
      Timeout::Error    # >= ruby 1.9.2
    SecurityError
    SocketError
    SystemCallError
    SystemStackError
    ThreadError
    TypeError
    ZeroDivisionError
  SystemExit
  fatal
Ulrich Berkmueller
Last edit
Almost 10 years ago
Keywords
error
License
Source code in this card is licensed under the MIT License.
Posted by Ulrich Berkmueller to makandra dev (2012-01-11 14:38)