(&self)
| 477 | /// Returns `true` if this is an ordering-related error. |
| 478 | #[inline] |
| 479 | pub fn is_ordering_error(&self) -> bool { |
| 480 | matches!( |
| 481 | self, |
| 482 | ApplyError::InsertionPositionNotFound { .. } |
| 483 | | ApplyError::CircularReference { .. } |
| 484 | | ApplyError::OrderingViolation { .. } |
| 485 | ) |
| 486 | } |
| 487 | |
| 488 | /// Returns `true` if this is a storage/database error. |
| 489 | #[inline] |
no outgoing calls