class Octokit::Response::RaiseError
This class raises an Octokit-flavored exception based HTTP status codes returned by the API
Public Instance Methods
Source
# File lib/octokit/response/raise_error.rb, line 12 def on_complete(response) if error = Octokit::Error.from_response(response) raise error end end