Check if this error is related to view operations.
(&self)
| 511 | |
| 512 | /// Check if this error is related to view operations. |
| 513 | pub fn is_view_error(&self) -> bool { |
| 514 | matches!( |
| 515 | self, |
| 516 | Self::ViewNotFound { .. } |
| 517 | | Self::ViewAlreadyExists { .. } |
| 518 | | Self::CannotDeleteCurrentView { .. } |
| 519 | ) |
| 520 | } |
| 521 | |
| 522 | /// Check if this error is related to file operations. |
| 523 | pub fn is_file_error(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected