Enum waterbear::expression::EvaluationError
source · pub enum EvaluationError {
NameNotFound(Span, String),
DivideByZero(Span, String),
MustBeLiteralNumber(Span),
MacroLabelOutsideOfMacro(Span),
MacroArgOutsideOfMacro(Span),
ImmediateValueNotAllowedHere(Span),
IndirectionModeNotAllowedHere(Span),
InvalidMacroArg(Span),
}
Variants§
NameNotFound(Span, String)
DivideByZero(Span, String)
MustBeLiteralNumber(Span)
MacroLabelOutsideOfMacro(Span)
MacroArgOutsideOfMacro(Span)
ImmediateValueNotAllowedHere(Span)
IndirectionModeNotAllowedHere(Span)
InvalidMacroArg(Span)
Implementations§
Trait Implementations§
source§impl Debug for EvaluationError
impl Debug for EvaluationError
source§impl From<EvaluationError> for EncodingError
impl From<EvaluationError> for EncodingError
source§fn from(error: EvaluationError) -> Self
fn from(error: EvaluationError) -> Self
Converts to this type from the input type.