Exception: RBS::ParsingError
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
           BaseError,
          StandardError | |
| Instance Chain: 
          self,
           DetailedMessageable,BaseError,
          StandardError | |
| Inherits: | RBS::BaseError 
 | 
| Defined in: | lib/rbs/errors.rb | 
Class Method Summary
Instance Attribute Summary
- #error_message readonly
- #location readonly
- #token_type readonly
Instance Method Summary
DetailedMessageable - Included
Constructor Details
    .new(location, error_message, token_type)  ⇒ ParsingError 
  
# File 'lib/rbs/errors.rb', line 58
def initialize(location, , token_type) @location = location @error_message = @token_type = token_type super "#{Location.to_string location}: Syntax error: #{}, token=`#{location.source}` (#{token_type})" end
Instance Attribute Details
#error_message (readonly)
[ GitHub ]# File 'lib/rbs/errors.rb', line 55
attr_reader :
#location (readonly)
[ GitHub ]# File 'lib/rbs/errors.rb', line 54
attr_reader :location
#token_type (readonly)
[ GitHub ]# File 'lib/rbs/errors.rb', line 56
attr_reader :token_type