Check if this error indicates something was not found.
(&self)
| 407 | |
| 408 | /// Check if this error indicates something was not found. |
| 409 | pub fn is_not_found(&self) -> bool { |
| 410 | matches!( |
| 411 | self, |
| 412 | Self::RepositoryNotFound { .. } |
| 413 | | Self::ViewNotFound { .. } |
| 414 | | Self::FileNotFound { .. } |
| 415 | | Self::ChangeNotFound { .. } |
| 416 | | Self::VaultEntityNotFound { .. } |
| 417 | | Self::RemoteNotFound { .. } |
| 418 | ) |
| 419 | } |
| 420 | |
| 421 | /// Check if this error is related to view operations. |
| 422 | pub fn is_view_error(&self) -> bool { |
no outgoing calls
no test coverage detected