Enum otter_sql::expr::eval::ExprExecError
source · pub enum ExprExecError {
CannotExecute(Expr),
ValueBinaryOpError(ValueBinaryOpError),
ValueUnaryOpError(ValueUnaryOpError),
NoSuchColumn(BoundedString),
CorruptedData {
col_name: BoundedString,
table_name: BoundedString,
},
}Expand description
Error in execution of an expression.
Variants§
CannotExecute(Expr)
ValueBinaryOpError(ValueBinaryOpError)
ValueUnaryOpError(ValueUnaryOpError)
NoSuchColumn(BoundedString)
CorruptedData
Trait Implementations§
source§impl Debug for ExprExecError
impl Debug for ExprExecError
source§impl Display for ExprExecError
impl Display for ExprExecError
source§impl Error for ExprExecError
impl Error for ExprExecError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ExprExecError> for RuntimeError
impl From<ExprExecError> for RuntimeError
source§fn from(e: ExprExecError) -> Self
fn from(e: ExprExecError) -> Self
Converts to this type from the input type.
source§impl From<ValueBinaryOpError> for ExprExecError
impl From<ValueBinaryOpError> for ExprExecError
source§fn from(e: ValueBinaryOpError) -> Self
fn from(e: ValueBinaryOpError) -> Self
Converts to this type from the input type.
source§impl From<ValueUnaryOpError> for ExprExecError
impl From<ValueUnaryOpError> for ExprExecError
source§fn from(e: ValueUnaryOpError) -> Self
fn from(e: ValueUnaryOpError) -> Self
Converts to this type from the input type.
source§impl PartialEq<ExprExecError> for ExprExecError
impl PartialEq<ExprExecError> for ExprExecError
source§fn eq(&self, other: &ExprExecError) -> bool
fn eq(&self, other: &ExprExecError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.