Exception
The base class for all non-system-exiting exceptions. User-defined exceptions should derive from this class.
The base class for all non-system-exiting exceptions. User-defined exceptions should derive from this class.
The root class of all Ruby exceptions. rescue Exception should be avoided in application code as it also catches system signals and interpreter exits; rescue StandardError instead.