Enum otter_sql::codegen::CodegenError
source · pub enum CodegenError {
UnsupportedStatement(String),
UnsupportedStatementForm(&'static str, String),
InvalidIdentifier(IdentifierError),
Expr(ExprError),
}Expand description
Error while generating an intermediate code from the AST.
Variants§
UnsupportedStatement(String)
UnsupportedStatementForm(&'static str, String)
InvalidIdentifier(IdentifierError)
Expr(ExprError)
Trait Implementations§
source§impl Debug for CodegenError
impl Debug for CodegenError
source§impl Display for CodegenError
impl Display for CodegenError
source§impl Error for CodegenError
impl Error for CodegenError
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<CodegenError> for ExecutionError
impl From<CodegenError> for ExecutionError
source§fn from(err: CodegenError) -> Self
fn from(err: CodegenError) -> Self
Converts to this type from the input type.
source§impl From<CodegenError> for ParserOrCodegenError
impl From<CodegenError> for ParserOrCodegenError
source§fn from(e: CodegenError) -> Self
fn from(e: CodegenError) -> Self
Converts to this type from the input type.
source§impl From<ExprError> for CodegenError
impl From<ExprError> for CodegenError
source§impl From<IdentifierError> for CodegenError
impl From<IdentifierError> for CodegenError
source§fn from(i: IdentifierError) -> Self
fn from(i: IdentifierError) -> Self
Converts to this type from the input type.
source§impl From<ValueError> for CodegenError
impl From<ValueError> for CodegenError
source§fn from(v: ValueError) -> Self
fn from(v: ValueError) -> Self
Converts to this type from the input type.