Check if this is an authentication error.
(&self)
| 343 | |
| 344 | /// Check if this is an authentication error. |
| 345 | pub fn is_auth_error(&self) -> bool { |
| 346 | matches!( |
| 347 | self, |
| 348 | Self::AuthenticationFailed { .. } |
| 349 | | Self::HttpError { status: 401, .. } |
| 350 | | Self::HttpError { status: 403, .. } |
| 351 | ) |
| 352 | } |
| 353 | |
| 354 | /// Check if this is a "not found" error. |
| 355 | pub fn is_not_found(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected