Method: RBS::NoTypeFoundError#initialize
- Defined in:
- lib/rbs/errors.rb
#initialize(type_name:, location:) ⇒ NoTypeFoundError
Returns a new instance of NoTypeFoundError.
154 155 156 157 158 159 |
# File 'lib/rbs/errors.rb', line 154 def initialize(type_name:, location:) @type_name = type_name @location = location super "#{Location.to_string location}: Could not find #{type_name}" end |