Crate spinoso_exception

Source
Expand description

Built in Ruby exception types.

Descendants of class Exception are used to communicate between Kernel#raise and rescue statements in begin ... end blocks. Exception objects carry information about the exception – its type (the exception’s class name), an optional descriptive string, and optional traceback information. Exception subclasses may add additional information like NameError#name.

§Ruby Exception Hierarchy

The built-in subclasses of Exception are:

§no_std

This crate is no_std compatible when built without the std feature. This crate has a required dependency on alloc.

Modules§

core
Ruby exception class implementations.

Structs§

ArgumentError
Ruby ArgumentError error type.
EOFError
Ruby EOFError error type.
EncodingError
Ruby EncodingError error type.
Exception
Ruby Exception error type.
Fatal
Ruby fatal error type.
FiberError
Ruby FiberError error type.
FloatDomainError
Ruby FloatDomainError error type.
FrozenError
Ruby FrozenError error type.
IOError
Ruby IOError error type.
IndexError
Ruby IndexError error type.
Interrupt
Ruby Interrupt error type.
KeyError
Ruby KeyError error type.
LoadError
Ruby LoadError error type.
LocalJumpError
Ruby LocalJumpError error type.
NameError
Ruby NameError error type.
NoMemoryError
Ruby NoMemoryError error type.
NoMethodError
Ruby NoMethodError error type.
NotImplementedError
Ruby NotImplementedError error type.
RangeError
Ruby RangeError error type.
RegexpError
Ruby RegexpError error type.
RuntimeError
Ruby RuntimeError error type.
ScriptError
Ruby ScriptError error type.
SecurityError
Ruby SecurityError error type.
SignalException
Ruby SignalException error type.
StandardError
Ruby StandardError error type.
StopIteration
Ruby StopIteration error type.
SyntaxError
Ruby SyntaxError error type.
SystemCallError
Ruby SystemCallError error type.
SystemExit
Ruby SystemExit error type.
SystemStackError
Ruby SystemStackError error type.
ThreadError
Ruby ThreadError error type.
TypeError
Ruby TypeError error type.
UncaughtThrowError
Ruby UncaughtThrowError error type.
ZeroDivisionError
Ruby ZeroDivisionError error type.

Traits§

RubyException
Polymorphic exception type that corresponds to Ruby’s Exception.