Enum trimmer::DataError
[−]
pub enum DataError { AttrUnsupported(&'static str), AttrNotFound, IndexUnsupported(&'static str), StrKeyUnsupported(&'static str), IntKeyUnsupported(&'static str), IndexNotFound, OutputUnsupported(&'static str), BoolUnsupported(&'static str), IterationUnsupported(&'static str), PairIterationUnsupported(&'static str), VariableNotFound(String), }
This error is used to describe invalid variable usage in template
Variants
AttrUnsupported(&'static str)
Unsupported get attribute operation
AttrNotFound
No suche attribute on this object
IndexUnsupported(&'static str)
Unsupported subscription operation
StrKeyUnsupported(&'static str)
Unsupported using this object as a key in dictionary subscription
IntKeyUnsupported(&'static str)
Unsupported using this object as a key in array subscription
IndexNotFound
No such index on this object
OutputUnsupported(&'static str)
The object can't be output
BoolUnsupported(&'static str)
The object can't be boolean
IterationUnsupported(&'static str)
The object can't be iterated over
PairIterationUnsupported(&'static str)
The object can't be iterated over by pairs
VariableNotFound(String)
Variable or attribute not found