Check if this error indicates something was not found.
(&self)
| 498 | |
| 499 | /// Check if this error indicates something was not found. |
| 500 | pub fn is_not_found(&self) -> bool { |
| 501 | matches!( |
| 502 | self, |
| 503 | Self::RepositoryNotFound { .. } |
| 504 | | Self::ViewNotFound { .. } |
| 505 | | Self::FileNotFound { .. } |
| 506 | | Self::ChangeNotFound { .. } |
| 507 | | Self::VaultEntityNotFound { .. } |
| 508 | | Self::RemoteNotFound { .. } |
| 509 | ) |
| 510 | } |
| 511 | |
| 512 | /// Check if this error is related to view operations. |
| 513 | pub fn is_view_error(&self) -> bool { |
no outgoing calls
no test coverage detected