Checks whether an error is an HTTP error with the given status, such as a RequestError that Octokit throws for a failed request.
RequestError
The error to check.
The expected HTTP status.
true if the error has a status property with the given value.
true
status
Checks whether an error is an HTTP error with the given status, such as a
RequestErrorthat Octokit throws for a failed request.