pub enum I18NError {
Fluent(Vec<FluentError>),
FluentParser(Vec<ParserError>),
FluentNoValue,
FluentMessageNotFound {
id: String,
},
LanguageIdentifier(LanguageIdentifierError),
Io(Error),
}
Expand description
A possible error value occurred when load i18n resources.
Variants
Fluent(Vec<FluentError>)
Tuple Fields
0: Vec<FluentError>
Fluent error.
FluentParser(Vec<ParserError>)
Tuple Fields
0: Vec<ParserError>
Fluent FTL parser error.
FluentNoValue
There is no value in the message.
FluentMessageNotFound
Fields
id: String
Message id
Message id was not found.
LanguageIdentifier(LanguageIdentifierError)
Invalid language id.
Io(Error)
Tuple Fields
0: Error
Io error
Trait Implementations
The status code of this error.
Auto Trait Implementations
impl !RefUnwindSafe for I18NError
impl !UnwindSafe for I18NError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more