Skip to main content

is_not_found

Function is_not_found 

Source
pub fn is_not_found(error: &Error) -> bool
Expand description

Whether error says GitHub found nothing this account can read: a 404, or the 400 [graphql_failure] makes from a GraphQL NOT_FOUND, which GitHub also answers for a repository the account cannot see. Any other 400, such as a query GitHub rejects, is not.