(&self, f: &mut std::fmt::Formatter<'_>)
| 474 | |
| 475 | impl<E: std::fmt::Display> std::fmt::Display for CrdtOutputError<E> { |
| 476 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 477 | match self { |
| 478 | CrdtOutputError::Pristine(e) => write!(f, "pristine error: {}", e), |
| 479 | CrdtOutputError::Store(e) => write!(f, "change store error: {}", e), |
| 480 | CrdtOutputError::OrphanBranch(b) => { |
| 481 | write!(f, "branch {} has no BRANCH_VERTEX mapping", b) |
| 482 | } |
| 483 | } |
| 484 | } |
| 485 | } |
| 486 | |
| 487 | impl<E: std::error::Error + 'static> std::error::Error for CrdtOutputError<E> {} |
nothing calls this directly
no outgoing calls
no test coverage detected