Check if this error indicates something was not found.
(&self)
| 441 | |
| 442 | /// Check if this error indicates something was not found. |
| 443 | pub fn is_not_found(&self) -> bool { |
| 444 | matches!( |
| 445 | self, |
| 446 | Self::RepositoryNotFound { .. } |
| 447 | | Self::ViewNotFound { .. } |
| 448 | | Self::FileNotFound { .. } |
| 449 | | Self::ChangeNotFound { .. } |
| 450 | | Self::VaultEntityNotFound { .. } |
| 451 | | Self::RemoteNotFound { .. } |
| 452 | ) |
| 453 | } |
| 454 | |
| 455 | /// Check if this error is related to view operations. |
| 456 | pub fn is_view_error(&self) -> bool { |
no outgoing calls
no test coverage detected