Errors.Code == "custom" when from Client.PullRequests.Create when PR already exists #1441
Comments
|
Hmmm... looking at the code, it appears to me that this code is generated by the GitHub v3 API endpoint: You might want to contact [email protected] and point them to: If you do contact them, please report back here what they say. They are usually very fast to reply and are always friendly and helpful. Thank you! |
|
@gmlewis would you please assign this to me |
|
@elemanhillary - does that mean you want to contact GitHub tech support? There is nothing yet here to work on. Let's see if @jwtracy responds about contacting GitHub tech support first before I assign this ticket to anyone. Thanks. |
Here is the ErrorsResponse.Error() output,
It would be convenient if
Code:already_existsforResource:PullRequestso I can use that rather than parsing the Message for "A pull request already exists"Is it "custom" because the
<owner>:<branch>string is not necessarily a unique key across Github? When creating a PR in a repository between two branches, this is a unique resource, however.The text was updated successfully, but these errors were encountered: