Safely extract an HTTP status code from an unknown error (e.g. Octokit errors). Returns undefined if the error doesn't have a numeric status property.
status
Safely extract an HTTP status code from an unknown error (e.g. Octokit errors). Returns undefined if the error doesn't have a numeric
statusproperty.