pub enum FluentGenerateError {
Io(Error),
EnvVar(VarError),
MissingPackageName,
ParseError(Vec<ParserError>),
SerializeError(Error),
}Variants§
Io(Error)
An IO error.
EnvVar(VarError)
An environment variable error.
MissingPackageName
An error that occurs when the package name is missing.
ParseError(Vec<ParserError>)
An error that occurs when parsing a Fluent file.
SerializeError(Error)
An error that occurs when serializing a Fluent file.
Trait Implementations§
Source§impl Debug for FluentGenerateError
impl Debug for FluentGenerateError
Source§impl Display for FluentGenerateError
impl Display for FluentGenerateError
Source§impl Error for FluentGenerateError
impl Error for FluentGenerateError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for FluentGenerateError
impl From<Error> for FluentGenerateError
Source§impl From<Error> for FluentGenerateError
impl From<Error> for FluentGenerateError
Auto Trait Implementations§
impl Freeze for FluentGenerateError
impl !RefUnwindSafe for FluentGenerateError
impl Send for FluentGenerateError
impl Sync for FluentGenerateError
impl Unpin for FluentGenerateError
impl !UnwindSafe for FluentGenerateError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more