diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 1377191dfb..efc4d93a6f 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -251,7 +251,7 @@ end module GitHub extend self ISSUES_URI = URI.parse("https://api.github.com/search/issues") - Error = Class.new(StandardError) + Error = Class.new(RuntimeError) RateLimitExceededError = Class.new(Error) HTTPNotFoundError = Class.new(Error) AuthenticationFailedError = Class.new(Error)