Enum taxonomy::TaxonomyError [−][src]
pub enum TaxonomyError {
NoSuchKey {
key: String,
},
NoSuchName {
name: String,
},
UnrecognizedRank {
rank: String,
},
ImportError {
line: usize,
msg: String,
},
MalformedTree {
tax_id: String,
},
CreationFailed {
field: String,
},
}
Expand description
A taxonomically-specific error
Variants
The given key could not be found in the taxonomy.
Fields of NoSuchKey
key: String
The given name could not be found in the taxonomy.
Fields of NoSuchName
name: String
A string could not be parsed into a TaxRank.
Fields of UnrecognizedRank
rank: String
A string could not be parsed into a TaxRank.
The taxonomy has an unrooted node or some other issue that breaks the assumption its a tree
Fields of MalformedTree
tax_id: String
Fields of CreationFailed
field: String