Enum graphannis::errors::RelAnnisError [−][src]
#[non_exhaustive]
pub enum RelAnnisError {
Show 13 variants
DirectoryNotFound(String),
MissingColumn {
pos: usize,
name: String,
file: String,
},
UnexpectedNull {
pos: usize,
name: String,
file: String,
line: Option<u64>,
},
ToplevelCorpusNotFound,
CorpusNotFound(u32),
NodeNotFound(NodeID),
AlignedNotFound(NodeID),
LeftAlignedNotFound(NodeID),
RightAlignedNotFound(NodeID),
NoTokenForPosition(TextProperty),
NoLeftPositionForNode(NodeID),
NoRightPositionForNode(NodeID),
InvalidComponentShortName(String),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DirectoryNotFound(String)
Tuple Fields
0: String
MissingColumn
UnexpectedNull
ToplevelCorpusNotFound
CorpusNotFound(u32)
Tuple Fields
0: u32
NodeNotFound(NodeID)
Tuple Fields
0: NodeID
AlignedNotFound(NodeID)
Tuple Fields
0: NodeID
LeftAlignedNotFound(NodeID)
Tuple Fields
0: NodeID
RightAlignedNotFound(NodeID)
Tuple Fields
0: NodeID
NoTokenForPosition(TextProperty)
NoLeftPositionForNode(NodeID)
Tuple Fields
0: NodeID
NoRightPositionForNode(NodeID)
Tuple Fields
0: NodeID
InvalidComponentShortName(String)
Tuple Fields
0: String
Trait Implementations
Performs the conversion.