PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Exception
U:RDoc::AnyMethod[iI"exception:ETI"Exception::exception;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I">Returns an exception object of the same class as +self+; ;TI"Kuseful for creating a similar exception, but with a different message.;To:RDoc::Markup::BlankLine o; ; [I"*With +message+ +nil+, returns +self+:;T@o:RDoc::Markup::Verbatim; [I"@x0 = StandardError.new('Boom') # => #<StandardError: Boom> ;TI"@x1 = x0.exception # => #<StandardError: Boom> ;TI".x0.__id__ == x1.__id__ # => true ;T:@format0o; ; [ I"dWith {string-convertible object}[rdoc-ref:implicit_conversion.rdoc@String-Convertible+Objects] ;TI"8+message+ (even the same as the original message), ;TI"Greturns a new exception object whose class is the same as +self+, ;TI".and whose message is the given +message+:;T@o;; [I";x1 = x0.exception('Boom') # => #<StandardError: Boom> ;TI")x0..equal?(x1) # => false;T; 0: @fileI"error.c;T:0@omit_headings_from_table_of_contents_below0I"7exception(message = nil) -> self or new_exception ;T0[ I"(*args);T@"FI"Exception;TcRDoc::NormalClass00
[-] set_backtrace-i.ri
[edit]
[-] to_s-i.ri
[edit]
[-] to_tty%3f-c.ri
[edit]
[-] to_json-i.ri
[edit]
[-] exception-c.ri
[edit]
[-] message-i.ri
[edit]
[-] exception-i.ri
[edit]
[-] as_json-i.ri
[edit]
[-] backtrace_locations-i.ri
[edit]
[-] new-c.ri
[edit]
[-] cause-i.ri
[edit]
[-] json_create-c.ri
[edit]
[-] full_message-i.ri
[edit]
[-] backtrace-i.ri
[edit]
[-] cdesc-Exception.ri
[edit]
[+]
..
[-] %3d%3d-i.ri
[edit]
[-] inspect-i.ri
[edit]
[-] detailed_message-i.ri
[edit]