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.6.10
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.