Type Alias erg_compiler::error::eval::EvalError

source ·
pub type EvalError = CompileError;

Aliased Type§

struct EvalError {
    pub core: Box<ErrorCore>,
    pub input: Input,
    pub caused_by: String,
    pub theme: Theme,
}

Fields§

§core: Box<ErrorCore>§input: Input§caused_by: String§theme: Theme

Implementations§

source§

impl EvalError

source

pub fn not_const_expr( input: Input, errno: usize, loc: Location, caused_by: String ) -> Self

source

pub fn invalid_literal( input: Input, errno: usize, loc: Location, caused_by: String ) -> Self