Skip to content

Commit 6b89bc1

Browse files
committed
Fix super class of NoTypeFoundError from BaseError to DefinitionError
1 parent fd31415 commit 6b89bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rbs/errors.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def self.check!(self_ancestor, ancestors:, location:)
130130
end
131131
end
132132

133-
class NoTypeFoundError < BaseError
133+
class NoTypeFoundError < DefinitionError
134134
include DetailedMessageable
135135

136136
attr_reader :type_name

0 commit comments

Comments
 (0)