pub enum LineageError {
Show 17 variants
SchemaNotFound(Uuid),
DependencyExists {
from: String,
to: String,
},
DependencyNotFound {
from: String,
to: String,
},
CircularDependency(String),
InvalidRelationType(String),
GraphOperationFailed(String),
ExportFailed(String),
ImportFailed(String),
InvalidFilter(String),
MaxDepthExceeded(usize),
EntityNotFound(String),
InvalidEntityType(String),
SerializationError(String),
DeserializationError(String),
Internal(String),
LockPoisoned(String),
IoError(Error),
}Expand description
Errors that can occur during lineage tracking operations
Variants§
SchemaNotFound(Uuid)
Schema not found in the lineage graph
DependencyExists
Dependency already exists
DependencyNotFound
Dependency not found
CircularDependency(String)
Circular dependency detected
InvalidRelationType(String)
Invalid relationship type
GraphOperationFailed(String)
Graph operation failed
ExportFailed(String)
Export operation failed
ImportFailed(String)
Import operation failed
InvalidFilter(String)
Invalid query filter
MaxDepthExceeded(usize)
Maximum depth exceeded
EntityNotFound(String)
Entity not found
InvalidEntityType(String)
Invalid entity type
SerializationError(String)
Serialization error
DeserializationError(String)
Deserialization error
Internal(String)
Internal error
LockPoisoned(String)
Lock poisoned
IoError(Error)
I/O error
Trait Implementations§
Source§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
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<Error> for LineageError
impl From<Error> for LineageError
Source§impl From<Error> for LineageError
impl From<Error> for LineageError
Source§impl<T> From<PoisonError<T>> for LineageError
impl<T> From<PoisonError<T>> for LineageError
Source§fn from(err: PoisonError<T>) -> Self
fn from(err: PoisonError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for LineageError
impl !UnwindSafe for LineageError
impl Freeze for LineageError
impl Send for LineageError
impl Sync for LineageError
impl Unpin for LineageError
impl UnsafeUnpin 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