* 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
21 lines
299 B
Ruby
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
|