Returns `true` if this is a hash-related error.
(&self)
| 271 | |
| 272 | /// Returns `true` if this is a hash-related error. |
| 273 | pub fn is_hash_error(&self) -> bool { |
| 274 | matches!( |
| 275 | self, |
| 276 | FormatError::HashTableFull |
| 277 | | FormatError::HashIndexOutOfBounds { .. } |
| 278 | | FormatError::HashMismatch { .. } |
| 279 | | FormatError::HashNotFound { .. } |
| 280 | ) |
| 281 | } |
| 282 | |
| 283 | /// Returns `true` if this is a format/structural error. |
| 284 | pub fn is_format_error(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected