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.
EvalError(Error)
Error while evaluating input arguments.
InternalError(String)
Any other error not representable by other values.
IoError(Error)
I/O error during execution.
General mismatch of parameters given to the function with expectations (different numbers, invalid types).
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CallError
impl !UnwindSafe for CallError