Skip to content

Commit

Permalink
Added NotFound exception class
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilger committed Jun 26, 2011
1 parent 29eb7ee commit 3084f81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/github_v3_api.rb
Expand Up @@ -17,6 +17,9 @@
# #=> an instance of GitHubV3API::OrgsAPI
#
class GitHubV3API
# Raised when an API request returns a 404 error
NotFound = Class.new(RuntimeError)

# Returns a GitHubV3API instance that is able to access github with the
# +access_token+ owner's authorization.
#
Expand Down

0 comments on commit 3084f81

Please sign in to comment.