Enum l20n::ResolveError
[−]
[src]
pub enum ResolveError {
WrongType,
WrongNumberOfArgs,
MissingIndex,
MissingAttr,
MissingVar(String),
MissingIdent(String),
}Errors that can occur when resolving a set of l20n resources into strings. These errors are cause by problems in the l20n file, or incorrect Data provided when localizing.
Variants
WrongType | A resource received a value of the wrong type. |
WrongNumberOfArgs | A macro was called with the wrong number of arguments. |
MissingIndex | Accessed an index of a Hash that does not exist. |
MissingAttr | Accessed an attribute of an entity that does not exist. |
MissingVar | Tried to use a $var that did not exist in the provided Data. |
MissingIdent | A string tried to use another string in the l20n resource that did not exist. |