docbrown/app/services/github/errors.rb
rhymes 3130261384
Refactor GitHub::Client to extract Github::OauthClient for users (#7848)
* Introduce Github::OAuthClient and refactor shortcut Github::Client

* Better stubbing and fix specs

* Fix Badge rewarder

* Add dummy values for Travis

* Fix spec?

* Simplify

* Fix spec take 2?

* Is this the right one?

* Hopefully this is the last time, for realz

* Fix spec for the nth time?

* Which deity do I have to offer a sacrifice to?

* This is it

* Fix Honeycomb name
2020-05-18 14:23:55 +02:00

21 lines
299 B
Ruby

module Github
module Errors
class Error < StandardError
end
class ClientError < Error
end
class ServerError < Error
end
class NotFound < ClientError
end
class Unauthorized < ClientError
end
class InvalidRepository < ArgumentError
end
end
end