pub enum ErrorType {
Io,
Syntax,
NotBalanced,
Incomplete,
Account,
NoMatch,
Ambiguous,
Duplicate,
}
Expand description
Kinds of errors that lumi
encountered during generating Ledger
from
files input text.
Variants§
Io
IO error, e.g., the context of an input file cannot be read.
Syntax
Syntax error in the source file.
NotBalanced
Indicates a transactions is not balanced.
Incomplete
A transaction missing too much information such that lumi
cannot infer
for the context.
Account
An unopened or already closed account is referred.
NoMatch
lumi
cannot find a position in the running balance sheet that matching
the cost basis provided in the posting.
Ambiguous
Multiple Positions are founded in the running balance sheet that matching the cost basis provided in the posting.
Duplicate
Duplicate information, such as two identical tags in a single transaction.
Trait Implementations§
source§impl PartialEq<ErrorType> for ErrorType
impl PartialEq<ErrorType> for ErrorType
impl Copy for ErrorType
impl Eq for ErrorType
impl StructuralEq for ErrorType
impl StructuralPartialEq for ErrorType
Auto Trait Implementations§
impl RefUnwindSafe for ErrorType
impl Send for ErrorType
impl Sync for ErrorType
impl Unpin for ErrorType
impl UnwindSafe for ErrorType
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