Check if this error indicates something was not found.
(&self)
| 420 | |
| 421 | /// Check if this error indicates something was not found. |
| 422 | pub fn is_not_found(&self) -> bool { |
| 423 | matches!( |
| 424 | self, |
| 425 | Self::RepositoryNotFound { .. } |
| 426 | | Self::ViewNotFound { .. } |
| 427 | | Self::FileNotFound { .. } |
| 428 | | Self::ChangeNotFound { .. } |
| 429 | | Self::VaultEntityNotFound { .. } |
| 430 | | Self::RemoteNotFound { .. } |
| 431 | ) |
| 432 | } |
| 433 | |
| 434 | /// Check if this error is related to view operations. |
| 435 | pub fn is_view_error(&self) -> bool { |
no outgoing calls
no test coverage detected