Enum l20n::ResolveError
[−]
[src]
pub enum ResolveError { WrongType, WrongNumberOfArgs, MissingIndex, MissingAttr, MissingVar(String), MissingIdent(String), }
: Look at https://github.com/projectfluent/fluent-rs instead.
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
: Look at https://github.com/projectfluent/fluent-rs instead.
A resource received a value of the wrong type.
WrongNumberOfArgs
: Look at https://github.com/projectfluent/fluent-rs instead.
A macro was called with the wrong number of arguments.
MissingIndex
: Look at https://github.com/projectfluent/fluent-rs instead.
Accessed an index of a Hash that does not exist.
MissingAttr
: Look at https://github.com/projectfluent/fluent-rs instead.
Accessed an attribute of an entity that does not exist.
MissingVar(String)
: Look at https://github.com/projectfluent/fluent-rs instead.
Tried to use a $var that did not exist in the provided Data.
MissingIdent(String)
: Look at https://github.com/projectfluent/fluent-rs instead.
A string tried to use another string in the l20n resource that did not exist.