--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Descendents of class Exception are used to communicate between raise methods 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. Programs may subclass Exception to add additional information. constants: [] full_name: NameError includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: to_s name: NameError superclass: StandardError