Current Directory:
/opt/cpanel/ea-ruby24/root/usr/share/ri/system/StandardError
Upload
Create File
File Name
Size
Actions
cdesc-StandardError.ri
927 bytes
Edit
|
Delete
|
Rename
|
Download
U:RDoc::NormalClass[iI"StandardError:ET@I"Exception;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"FThe most standard error types are subclasses of StandardError. A ;TI"Grescue clause without an explicit Exception class will rescue all ;TI"%StandardErrors (and only those).;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[ I" def foo ;TI" raise "Oups" ;TI" end ;TI"&foo rescue "Hello" #=> "Hello" ;T:@format0o; ;[I"On the other hand:;T@o;;[I"*require 'does/not/exist' rescue "Hi" ;T;0o; ;[I"#<em>raises the exception:</em>;T@o;;[I"6LoadError: no such file to load -- does/not/exist;T;0: @fileI"error.c;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@%@%cRDoc::TopLevel
Save Changes