Check if this error indicates something was not found.
(&self)
| 455 | |
| 456 | /// Check if this error indicates something was not found. |
| 457 | pub fn is_not_found(&self) -> bool { |
| 458 | matches!( |
| 459 | self, |
| 460 | Self::RepositoryNotFound { .. } |
| 461 | | Self::ViewNotFound { .. } |
| 462 | | Self::FileNotFound { .. } |
| 463 | | Self::ChangeNotFound { .. } |
| 464 | | Self::VaultEntityNotFound { .. } |
| 465 | | Self::RemoteNotFound { .. } |
| 466 | ) |
| 467 | } |
| 468 | |
| 469 | /// Check if this error is related to view operations. |
| 470 | pub fn is_view_error(&self) -> bool { |
no outgoing calls
no test coverage detected