Exception: Octokit::CommitIsNotPartOfPullRequest

Inherits:
UnprocessableEntity show all
Defined in:
lib/octokit/error.rb

Overview

Raised when GitHub returns a 422 HTTP status code and body matches 'PullRequestReviewComment' and 'commit_id (or end_commit_oid) is not part of the pull request'

Instance Attribute Summary

Attributes inherited from Error

#context

Method Summary

Methods inherited from Error

#build_error_context, #documentation_url, #errors, from_response, #initialize, #response_body, #response_headers, #response_status

Constructor Details

This class inherits a constructor from Octokit::Error