PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
SyntaxSuggest
U:RDoc::AnyMethod[iI"handle_error:ETI" SyntaxSuggest::handle_error;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"(SyntaxSuggest.handle_error [Public];To:RDoc::Markup::BlankLine o; ; [ I"/Takes a `SyntaxError` exception, uses the ;TI"5error message to locate the file. Then the file ;TI"9will be analyzed to find the location of the syntax ;TI",error and emit that location to stderr.;T@o; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [ I"begin ;TI" require 'bad_file' ;TI"rescue => e ;TI"% SyntaxSuggest.handle_error(e) ;TI" end ;T:@format0o; ; [I"6By default it will re-raise the exception unless ;TI"4`re_raise: false`. The message output location ;TI"5can be configured using the `io: $stderr` input.;T@o; ; [I"<If a valid filename cannot be determined, the original ;TI",exception will be re-raised (even with ;TI"`re_raise: false`).;T: @fileI"lib/syntax_suggest/api.rb;T:0@omit_headings_from_table_of_contents_below000[ I"%(e, re_raise: true, io: $stderr);T@)FI"SyntaxSuggest;TcRDoc::NormalModule00
[+]
Error
[+]
PriorityQueue
[+]
CodeSearch
[+]
RipperErrors
[-] handle_error-c.ri
[edit]
[+]
CleanDocument
[+]
LexValue
[+]
MiniStringIO
[+]
Capture
[+]
LeftRightLexCount
[+]
GetParseErrors
[-] use_prism_parser%3f-c.ri
[edit]
[+]
ExplainSyntax
[+]
ScanHistory
[+]
PriorityEngulfQueue
[+]
UnvisitedLines
[+]
Cli
[+]
CaptureCodeContext
[+]
AroundBlockScan
[+]
DisplayCodeWithLineNumbers
[+]
CodeLine
[-] valid_without%3f-c.ri
[edit]
[+]
PathnameFromMessage
[-] record_dir-c.ri
[edit]
[+]
CodeFrontier
[+]
DisplayInvalidBlocks
[+]
..
[-] module_for_detailed_message-c.ri
[edit]
[-] call-c.ri
[edit]
[+]
BlockExpand
[-] valid%3f-c.ri
[edit]
[+]
LexAll
[+]
CodeBlock
[-] cdesc-SyntaxSuggest.ri
[edit]
[-] invalid%3f-c.ri
[edit]
[+]
ParseBlocksFromIndentLine
[-] detailed_message-i.ri
[edit]