123456789_123456789_123456789_123456789_123456789_

Exception: RBS::GenericParameterMismatchError

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

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(name:, decl:) ⇒ GenericParameterMismatchError

[ GitHub ]

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

def initialize(name:, decl:)
  @name = name
  @decl = decl
  super "#{Location.to_string decl.location}: Generic parameters mismatch: #{name}"
end

Instance Attribute Details

#decl (readonly)

[ GitHub ]

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

attr_reader :decl

#name (readonly)

[ GitHub ]

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

attr_reader :name