Raised when the arguments are wrong and there isn't a more specific Exception class.
Raised when the referenced Queue object is closed.
Raised by some IO operations when reaching the end of file.
Raised by Encoding and String methods when the source encoding is incompatible with the target encoding.
Raised by transcoding methods when a named encoding does not correspond with a known converter.
Raised by Encoding and String methods when the string being transcoded contains a byte
that is invalid for either the source or target encoding.
Raised by Encoding and String methods when a transcoding operation fails.
EncodingError is the base class for encoding errors.
Module Errno is created dynamically to map operating system errors to Ruby classes,
with each error number generating its own subclass of SystemCallError.
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.
Raised when an invalid operation is attempted on a Fiber,
in particular when attempting to call/resume a dead fiber,
attempting to yield from the root fiber, or calling a fiber across threads.
Raised when attempting to convert special float values (in particular infinite or NaN)
to numerical classes which don't support them.
Raised when an IO operation fails.
Raised when the given index is invalid.
Raised when the interrupt signal is received,
typically because the user pressed on Control-C (on most POSIX platforms).
Raised when the specified key is not found. It is a subclass of IndexError.
Raised when a file required (a Ruby script, extension library, ...) fails to load.
Raised when Ruby can't yield as requested.
Raised when a mathematical function is evaluated outside of its domain of definition.
Raised when a given name is invalid or undefined.
Raised when memory allocation fails.
Raised when a method is called on a receiver which doesn't have it defined
and also fails to respond with method_missing.
Raised when a feature is not implemented on the current platform.
Raised when a given numerical value is out of range.
Raised when given an invalid regular expression.
A generic error class, raised when an invalid operation is attempted.
ScriptError is the superclass for errors raised when a script can not be executed
because of a LoadError, NotImplementedError, or SyntaxError.
Raised when attempting a potential unsafe operation,
typically when the $SAFE level is raised above 0.
Support for handling of operating system signals.
Raised when a signal is received.
Raised by exit to initiate the termination of the script.
The most standard error types are subclasses of StandardError.
A rescue clause without an explicit Exception class will rescue all StandardErrors (and only those).
Raised to stop the iteration, in particular by Enumerator#next.
Raised when encountering Ruby code that has invalid syntax.
SystemCallError is the base class for all low-level, platform-dependent errors.
Raised in case of a stack overflow.
Raised when an invalid operation is attempted on a thread.
Raised when encountering an object that is not of the expected type.
Raised when throw is called with a tag which does not have a corresponding catch block.
Raised when attempting to divide an integer by 0.
fatal is an Exception that is raised when Ruby has encountered a fatal error and must exit.