Enum l20n::ResolveError [] [src]

pub enum ResolveError {
    WrongType,
    WrongNumberOfArgs,
    MissingIndex,
    MissingAttr,
    MissingVar(String),
    MissingIdent(String),
}
Deprecated

: 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

Deprecated

: Look at https://github.com/projectfluent/fluent-rs instead.

A resource received a value of the wrong type.

Deprecated

: Look at https://github.com/projectfluent/fluent-rs instead.

A macro was called with the wrong number of arguments.

Deprecated

: Look at https://github.com/projectfluent/fluent-rs instead.

Accessed an index of a Hash that does not exist.

Deprecated

: Look at https://github.com/projectfluent/fluent-rs instead.

Accessed an attribute of an entity that does not exist.

Deprecated

: Look at https://github.com/projectfluent/fluent-rs instead.

Tried to use a $var that did not exist in the provided Data.

Deprecated

: Look at https://github.com/projectfluent/fluent-rs instead.

A string tried to use another string in the l20n resource that did not exist.

Trait Implementations

impl Debug for ResolveError
[src]

[src]

Formats the value using the given formatter.