pub enum Error {
ParseError,
VariableNotDefinedError,
InvalidIndentationError,
DuplicatedVariableError,
DuplicatedKeyError,
FileNotFoundError,
DuplicatedImportError,
}
Expand description
All Gura error variants
Variants
ParseError
Raises when Gura syntax is invalid
VariableNotDefinedError
Raises when a variable is not defined
InvalidIndentationError
Raises when indentation is invalid
DuplicatedVariableError
Raises when a variable is defined more than once
DuplicatedKeyError
Raises when a key is defined more than once
FileNotFoundError
Raises when an imported file was not found
DuplicatedImportError
Raises when a file is imported more than once
Trait Implementations
impl StructuralPartialEq for Error
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more