Exception: RuntimeError
- Inherits:
 - 
      StandardError
      
        
- Object
 - Exception
 - StandardError
 - RuntimeError
 
 
- Defined in:
 - error.c,
error.c 
Overview
A generic error class raised when an invalid operation is attempted. Kernel#raise will raise a RuntimeError if no Exception class is specified.
raise "ouch"
raises the exception:
RuntimeError: ouch
  Direct Known Subclasses
FrozenError, IO::Buffer::AccessError, IO::Buffer::AllocationError, IO::Buffer::InvalidatedError, IO::Buffer::LockedError, Ractor::Error
Method Summary
Methods inherited from Exception
#==, #backtrace, #backtrace_locations, #cause, #detailed_message, #exception, exception, #full_message, #initialize, #inspect, #message, #set_backtrace, #to_s, to_tty?
Constructor Details
This class inherits a constructor from Exception