diff options
Diffstat (limited to 'lib/github/error.rb')
-rw-r--r-- | lib/github/error.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/github/error.rb b/lib/github/error.rb index 41cd4c67847..dfca3a18f9c 100644 --- a/lib/github/error.rb +++ b/lib/github/error.rb @@ -1,6 +1,4 @@ module Github - class Error < StandardError - end - - class RepositoryFetchError < Error; end + Error = Class.new(StandardError) + RepositoryFetchError = Class.new(Github::Error) end |