123456789_123456789_123456789_123456789_123456789_

Exception: RBS::GenericParameterMismatchError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, LoadingError, ErrorBase, StandardError
Instance Chain:
self, LoadingError, ErrorBase, 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 302

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 300

attr_reader :decl

#name (readonly)

[ GitHub ]

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

attr_reader :name