Exception: RBS::UnknownMethodAliasError
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
DefinitionError ,
BaseError ,
StandardError
|
|
Instance Chain:
self,
DefinitionError ,
BaseError ,
StandardError
|
|
Inherits: |
RBS::DefinitionError
|
Defined in: | lib/rbs/errors.rb |
Class Method Summary
Instance Attribute Summary
- #aliased_name readonly
- #location readonly
- #original_name readonly
- #type_name readonly
Constructor Details
.new(type_name:, original_name:, aliased_name:, location:) ⇒ UnknownMethodAliasError
# File 'lib/rbs/errors.rb', line 283
def initialize(type_name:, original_name:, aliased_name:, location:) @type_name = type_name @original_name = original_name @aliased_name = aliased_name @location = location super "#{Location.to_string location}: Unknown method alias name: #{original_name} => #{aliased_name} (#{type_name})" end
Instance Attribute Details
#aliased_name (readonly)
[ GitHub ]# File 'lib/rbs/errors.rb', line 280
attr_reader :aliased_name
#location (readonly)
[ GitHub ]# File 'lib/rbs/errors.rb', line 281
attr_reader :location
#original_name (readonly)
[ GitHub ]# File 'lib/rbs/errors.rb', line 279
attr_reader :original_name
#type_name (readonly)
[ GitHub ]# File 'lib/rbs/errors.rb', line 278
attr_reader :type_name