Enum endbasic_core::syms::CallError [−][src]
pub enum CallError {
ArgumentError(String),
EvalError(Error),
InternalError(String),
IoError(Error),
SyntaxError,
}Expand description
Command or function execution errors.
These are separate from the more generic Error type because they are not annotated with the
specific callable that triggered the error. We add such annotation once we capture the error
within the evaluation logic.
Variants
ArgumentError(String)A specific parameter had an invalid value.
Tuple Fields of ArgumentError
0: StringEvalError(Error)Error while evaluating input arguments.
Tuple Fields of EvalError
0: ErrorInternalError(String)Any other error not representable by other values.
Tuple Fields of InternalError
0: StringIoError(Error)I/O error during execution.
Tuple Fields of IoError
0: ErrorGeneral mismatch of parameters given to the function with expectations (different numbers, invalid types).