PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Exception
U:RDoc::AnyMethod[iI" cause:ETI"Exception#cause;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"@Returns the previous value of global variable <tt>$!</tt>, ;TI"which may be +nil+ ;TI"G(see {Global Variables}[rdoc-ref:exceptions.md@Global+Variables]):;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"begin ;TI" raise('Boom 0') ;TI"rescue => x0 ;TI"I puts "Exception: #{x0}; $!: #{$!}; cause: #{x0.cause.inspect}." ;TI" begin ;TI" raise('Boom 1') ;TI" rescue => x1 ;TI"C puts "Exception: #{x1}; $!: #{$!}; cause: #{x1.cause}." ;TI" begin ;TI" raise('Boom 2') ;TI" rescue => x2 ;TI"E puts "Exception: #{x2}; $!: #{$!}; cause: #{x2.cause}." ;TI" end ;TI" end ;TI" end ;T:@format0o; ; [I"Output:;T@o;; [I"2Exception: Boom 0; $!: Boom 0; cause: nil. ;TI"5Exception: Boom 1; $!: Boom 1; cause: Boom 0. ;TI"4Exception: Boom 2; $!: Boom 2; cause: Boom 1.;T; 0: @fileI"error.c;T:0@omit_headings_from_table_of_contents_below0I"cause -> exception or nil ;T0[ I"();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]