Enum amfnengine::ErrorType
[−]pub enum ErrorType {
Show 27 variants
None,
LeftParen,
RightParen,
Operator,
Operand,
InvalidOperator,
InvalidOperand,
InvalidToken,
MissingOperand,
RightBracket,
InvalidSymbol,
DivideByZero,
Integer,
Decimal,
String,
Date,
Alpha,
Function,
Index,
Incomplete,
CalcInterest,
CalcPeriods,
CalcPrincipal,
Cashflow,
CfName,
Element,
Json,
}
Expand description
Error type enumeration.
Variants
None
No error.
LeftParen
Missing left parenthesis.
RightParen
Missing right parenthesis.
Operator
Operator expected.
Operand
Operand expected.
InvalidOperator
Invalid operator.
InvalidOperand
Invalid operand.
InvalidToken
Invalid token.
MissingOperand
Missing operand.
RightBracket
Missing right bracket.
InvalidSymbol
Invalid symbol.
DivideByZero
Divide by zero.
Integer
Integer expected.
Decimal
Decimal expected.
String
&str expected.
Date
Date expected.
Alpha
Alpha expected.
Function
Invalid function.
Index
Invalid index value.
Incomplete
Incomplete expression.
CalcInterest
Cannot calculate interest.
CalcPeriods
Cannot calculate periods.
CalcPrincipal
Cannot calculate principal.
Cashflow
Cashflow not selected.
CfName
Invalid cashflow name.
Element
Element not selected.
Json
Invalid Json.
Trait Implementations
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
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