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 333

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 330

attr_reader :aliased_name

#location (readonly)

[ GitHub ]

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

attr_reader :location

#original_name (readonly)

[ GitHub ]

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

attr_reader :original_name

#type_name (readonly)

[ GitHub ]

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

attr_reader :type_name