Skip to content

Commit

Permalink
Fix super class of NoTypeFoundError from BaseError to DefinitionError
Browse files Browse the repository at this point in the history
  • Loading branch information
pocke committed Mar 27, 2023
1 parent fd31415 commit 6b89bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rbs/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def self.check!(self_ancestor, ancestors:, location:)
end
end

class NoTypeFoundError < BaseError
class NoTypeFoundError < DefinitionError
include DetailedMessageable

attr_reader :type_name
Expand Down

0 comments on commit 6b89bc1

Please sign in to comment.