123456789_123456789_123456789_123456789_123456789_

Exception: RBS::WillSyntaxError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, DefinitionError, BaseError, StandardError
Instance Chain:
Inherits: RBS::DefinitionError
Defined in: lib/rbs/errors.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(message, location:) ⇒ WillSyntaxError

[ GitHub ]

  
# File 'lib/rbs/errors.rb', line 566

def initialize(message, location:)
  super "#{Location.to_string(location)}: #{message}"
  @location = location
end

Instance Attribute Details

#location (readonly)

[ GitHub ]

  
# File 'lib/rbs/errors.rb', line 564

attr_reader :location