class RBS::NoTypeFoundError
Attributes
Public Class Methods
Source
# File bundled-src/rbs-3.10.0/lib/rbs/errors.rb, line 161 def self.check!(type_name, env:, location:) env.type_name?(type_name) or raise new(type_name: type_name, location: location) type_name end
Source
# File bundled-src/rbs-3.10.0/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
Calls superclass method
Exception::new