Method: RBS::NoTypeFoundError#initialize

Defined in:
lib/rbs/errors.rb

#initialize(type_name:, location:) ⇒ NoTypeFoundError

Returns a new instance of NoTypeFoundError.



88
89
90
91
92
93
# File 'lib/rbs/errors.rb', line 88

def initialize(type_name:, location:)
  @type_name = type_name
  @location = location

  super "#{Location.to_string location}: Could not find #{type_name}"
end