Check if this error indicates something was not found.
(&self)
| 385 | |
| 386 | /// Check if this error indicates something was not found. |
| 387 | pub fn is_not_found(&self) -> bool { |
| 388 | matches!( |
| 389 | self, |
| 390 | Self::RepositoryNotFound { .. } |
| 391 | | Self::ViewNotFound { .. } |
| 392 | | Self::FileNotFound { .. } |
| 393 | | Self::ChangeNotFound { .. } |
| 394 | | Self::RemoteNotFound { .. } |
| 395 | ) |
| 396 | } |
| 397 | |
| 398 | /// Check if this error is related to view operations. |
| 399 | pub fn is_view_error(&self) -> bool { |
no outgoing calls
no test coverage detected