Exception: Github::Error::BadRequest
- Inherits:
-
ServiceError
- Object
- StandardError
- GithubError
- ServiceError
- Github::Error::BadRequest
- Defined in:
- lib/github_api/error/bad_request.rb
Overview
Raised when Github returns the HTTP status code 400
Constant Summary
Constants inherited from ServiceError
Instance Attribute Summary
Attributes inherited from ServiceError
Attributes inherited from GithubError
#response_headers, #response_message
Instance Method Summary collapse
-
#initialize(response) ⇒ BadRequest
constructor
A new instance of BadRequest.
Methods inherited from ServiceError
#decode_body, errors, http_status_code, #parse_body, #parse_response
Methods included from Jsonable
Methods inherited from GithubError
Constructor Details
#initialize(response) ⇒ BadRequest
Returns a new instance of BadRequest.
9 10 11 |
# File 'lib/github_api/error/bad_request.rb', line 9 def initialize(response) super(response) end |