Ruby 2.1 Exception Hierarchy

Posted . Visible to the public.
BasicObject
  Exception
    MonitorMixin::ConditionVariable::Timeout
    NoMemoryError
    ScriptError
      LoadError
        Gem::LoadError
      NotImplementedError
      SyntaxError
    SecurityError
    SignalException
      Interrupt
    StandardError
      ArgumentError
        Gem::Requirement::BadRequirementError
      EncodingError
        Encoding::CompatibilityError
        Encoding::ConverterNotFoundError
        Encoding::InvalidByteSequenceError
        Encoding::UndefinedConversionError
      FiberError
      IOError
        EOFError
      IndexError
        KeyError
        StopIteration
      LocalJumpError
      Math::DomainError
      NameError
        NoMethodError
      RangeError
        FloatDomainError
      RegexpError
      RuntimeError
        Gem::Exception
          Gem::CommandLineError
          Gem::DependencyError
          Gem::DependencyRemovalException
          Gem::DependencyResolutionError
          Gem::DocumentError
          Gem::EndOfYAMLException
          Gem::FilePermissionError
          Gem::FormatException
          Gem::GemNotFoundException
            Gem::SpecificGemNotFoundException
          Gem::GemNotInHomeException
          Gem::ImpossibleDependenciesError
          Gem::InstallError
          Gem::InvalidSpecificationException
          Gem::OperationNotSupportedError
          Gem::RemoteError
          Gem::RemoteInstallationCancelled
          Gem::RemoteInstallationSkipped
          Gem::RemoteSourceException
          Gem::RubyVersionMismatch
          Gem::UnsatisfiableDependencyError
          Gem::VerificationError
      SystemCallError
        Errno::EAGAIN
          IO::WaitReadable
            IO::EAGAINWaitReadable
          IO::WaitWritable
            IO::EAGAINWaitWritable
        Errno::EINPROGRESS
          IO::WaitReadable
            IO::EINPROGRESSWaitReadable
          IO::WaitWritable
            IO::EINPROGRESSWaitWritable
      ThreadError
      TypeError
      ZeroDivisionError
    SystemExit
      Gem::SystemExitException
    SystemStackError
    fatal
Ev Dolzhenko
Posted by Ev Dolzhenko to Ev's deck (2014-02-13 10:20)