pub enum LineageError {
ColumnNotFound(String),
AmbiguousColumn(String),
InvalidQuery(String),
ParseError(String),
}Expand description
Errors specific to lineage operations.
Variants§
ColumnNotFound(String)
The target column was not found in the output.
AmbiguousColumn(String)
Ambiguous column reference (multiple sources).
InvalidQuery(String)
Invalid query structure for lineage analysis.
ParseError(String)
A parsing error occurred.
Trait Implementations§
Source§impl Clone for LineageError
impl Clone for LineageError
Source§fn clone(&self) -> LineageError
fn clone(&self) -> LineageError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LineageError
impl Debug for LineageError
Source§impl Display for LineageError
impl Display for LineageError
Source§impl Error for LineageError
impl Error for LineageError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<LineageError> for SqlglotError
impl From<LineageError> for SqlglotError
Source§fn from(e: LineageError) -> Self
fn from(e: LineageError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LineageError
impl PartialEq for LineageError
impl Eq for LineageError
impl StructuralPartialEq for LineageError
Auto Trait Implementations§
impl Freeze for LineageError
impl RefUnwindSafe for LineageError
impl Send for LineageError
impl Sync for LineageError
impl Unpin for LineageError
impl UnsafeUnpin for LineageError
impl UnwindSafe for LineageError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more