Enum orgize::ValidationError [−][src]
pub enum ValidationError {
ExpectedChildren {
at: NodeId,
},
UnexpectedChildren {
at: NodeId,
},
UnexpectedElement {
expected: &'static str,
at: NodeId,
},
ExpectedDetached {
at: NodeId,
},
HeadlineLevelMismatch {
range: RangeInclusive<usize>,
at: NodeId,
},
}
Expand description
Validation Error
Variants
Expected at least one child
Fields of ExpectedChildren
at: NodeId
Expected no children
Fields of UnexpectedChildren
at: NodeId
Expected a detached element
Fields of ExpectedDetached
at: NodeId
Expected headline level in specify range
Fields of HeadlineLevelMismatch
range: RangeInclusive<usize>
at: NodeId