StandardError
A generic error class raised when an invalid operation is attempted. Kernel#raise will raise a RuntimeError if no Exception class is specified.
Kernel#raise
RuntimeError
Exception
raise "ouch"
raises the exception:
RuntimeError: ouch
This page was generated for Ruby 2.7.6
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.42.0.