Enum otter_sql::codegen::ParserOrCodegenError
source · pub enum ParserOrCodegenError {
ParserError(ParserError),
CodegenError(CodegenError),
}Expand description
Represents either a parser error or a codegen error.
Variants§
ParserError(ParserError)
CodegenError(CodegenError)
Trait Implementations§
source§impl Debug for ParserOrCodegenError
impl Debug for ParserOrCodegenError
source§impl Display for ParserOrCodegenError
impl Display for ParserOrCodegenError
source§impl Error for ParserOrCodegenError
impl Error for ParserOrCodegenError
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 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<ParserError> for ParserOrCodegenError
impl From<ParserError> for ParserOrCodegenError
source§fn from(e: ParserError) -> Self
fn from(e: ParserError) -> Self
Converts to this type from the input type.