pub enum FluentScParserError {
Io(PathBuf, Error),
Syn(PathBuf, Error),
WalkDir(PathBuf, Error),
AttributeParse(PathBuf, Error),
AttributeValidation(PathBuf, EsFluentCoreError),
MissingAttribute(PathBuf, String),
Internal(String),
}Variants§
Io(PathBuf, Error)
An IO error.
Syn(PathBuf, Error)
An error that occurs when parsing a Rust file.
WalkDir(PathBuf, Error)
An error that occurs when walking a directory.
AttributeParse(PathBuf, Error)
An error that occurs when parsing an attribute.
AttributeValidation(PathBuf, EsFluentCoreError)
An error that occurs when validating attributes.
MissingAttribute(PathBuf, String)
An error that occurs when a required attribute is missing.
Internal(String)
An internal logic error.
Trait Implementations§
Source§impl Debug for FluentScParserError
impl Debug for FluentScParserError
Source§impl Display for FluentScParserError
impl Display for FluentScParserError
Source§impl Error for FluentScParserError
impl Error for FluentScParserError
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()
Auto Trait Implementations§
impl Freeze for FluentScParserError
impl !RefUnwindSafe for FluentScParserError
impl !Send for FluentScParserError
impl !Sync for FluentScParserError
impl Unpin for FluentScParserError
impl !UnwindSafe for FluentScParserError
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