123456789_123456789_123456789_123456789_123456789_

Exception: RBS::UnknownMethodAliasError

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(type_name:, original_name:, aliased_name:, location:) ⇒ UnknownMethodAliasError

[ GitHub ]

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

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 322

attr_reader :aliased_name

#location (readonly)

[ GitHub ]

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

attr_reader :location

#original_name (readonly)

[ GitHub ]

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

attr_reader :original_name

#type_name (readonly)

[ GitHub ]

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

attr_reader :type_name