Exception: Octokit::ClientError
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
AbuseDetected, AccountSuspended, BadRequest, BillingIssue, BranchNotProtected, CommitIsNotPartOfPullRequest, Conflict, Forbidden, InstallationSuspended, MethodNotAllowed, NotAcceptable, NotFound, OneTimePasswordRequired, PathDiffTooLarge, RepositoryUnavailable, SAMLProtected, TooLargeContent, TooManyLoginAttempts, TooManyRequests, Unauthorized, UnavailableForLegalReasons, UnprocessableEntity, UnsupportedMediaType, UnverifiedEmail
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Error ,
StandardError
|
|
Instance Chain:
self,
Error ,
StandardError
|
|
Inherits: |
Octokit::Error
|
Defined in: | lib/octokit/error.rb |
Overview
Raised on errors in the 400-499 range
Class Method Summary
Error
- Inherited
.error_for_401 | Returns most appropriate error for 401 HTTP status code. |
.error_for_403 | Returns most appropriate error for 403 HTTP status code. |
.error_for_404 | Return most appropriate error for 404 HTTP status code. |
.error_for_422 | Return most appropriate error for 422 HTTP status code. |
.from_response | Returns the appropriate |
.new |
Instance Attribute Summary
Instance Method Summary
Error
- Inherited
#build_error_context, | |
#documentation_url | Documentation URL returned by the API for some errors. |
#errors | Array of validation errors. |
#response_body | Body returned by the GitHub server. |
#response_headers | Headers returned by the GitHub server. |
#response_status | Status code returned by the GitHub server. |
#build_error_message, #data, #redact_url, #response_error, #response_error_summary, #response_message |
Constructor Details
This class inherits a constructor from Octokit::Error