blob: fd91045c0d8e57ba716cf76bdb0d5eb026ffa2f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#[derive(Debug, thiserror::Error)]
pub enum Error<Id>
where
Id: crate::NodeId,
{
#[error("Node not found: {:?}", .0)]
NodeNotFound(Id),
#[error("Node does not have HEAD as parent")]
HeadNotAParent,
}
|