#[non_exhaustive]
pub enum GraphAnnisCoreError {
Show 25 variants
InvalidComponentType(String),
InvalidComponentDescriptionFormat(String),
LoadingAnnotationStorage {
path: String,
source: Error,
},
UnknownGraphStorageImpl(String),
EmptyComponentPath,
GraphMLMissingAnnotationKey(AnnoKey),
NonExclusiveComponentReference(String),
MissingComponent(String),
ComponentNotLoaded(String),
ReadOnlyComponent(String),
ModelError(ComponentTypeError),
BincodeSerialization(Error),
Io(Error),
PersistingTemporaryFile(PersistError),
SortedStringTable(Status),
Xml(Error),
LfuCache(String),
GraphUpdatePersistanceFileMissing,
BtreeIndex(Error),
IntConversion(TryFromIntError),
LockPoisoning(String),
FromUtf8Error(FromUtf8Error),
SymbolTableOverflow,
UnknownAnnoKeySymbolId(usize),
Other(Box<dyn Error + Send + Sync>),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidComponentType(String)
InvalidComponentDescriptionFormat(String)
LoadingAnnotationStorage
UnknownGraphStorageImpl(String)
EmptyComponentPath
GraphMLMissingAnnotationKey(AnnoKey)
NonExclusiveComponentReference(String)
MissingComponent(String)
ComponentNotLoaded(String)
ReadOnlyComponent(String)
ModelError(ComponentTypeError)
BincodeSerialization(Error)
Io(Error)
PersistingTemporaryFile(PersistError)
SortedStringTable(Status)
Xml(Error)
LfuCache(String)
GraphUpdatePersistanceFileMissing
BtreeIndex(Error)
IntConversion(TryFromIntError)
LockPoisoning(String)
FromUtf8Error(FromUtf8Error)
SymbolTableOverflow
UnknownAnnoKeySymbolId(usize)
Other(Box<dyn Error + Send + Sync>)
Trait Implementations§
source§impl Debug for GraphAnnisCoreError
impl Debug for GraphAnnisCoreError
source§impl Display for GraphAnnisCoreError
impl Display for GraphAnnisCoreError
source§impl Error for GraphAnnisCoreError
impl Error for GraphAnnisCoreError
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<ComponentTypeError> for GraphAnnisCoreError
impl From<ComponentTypeError> for GraphAnnisCoreError
source§fn from(source: ComponentTypeError) -> Self
fn from(source: ComponentTypeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for GraphAnnisCoreError
impl From<Error> for GraphAnnisCoreError
source§impl From<Error> for GraphAnnisCoreError
impl From<Error> for GraphAnnisCoreError
source§impl From<Error> for GraphAnnisCoreError
impl From<Error> for GraphAnnisCoreError
source§impl From<FromUtf8Error> for GraphAnnisCoreError
impl From<FromUtf8Error> for GraphAnnisCoreError
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<GraphAnnisCoreError> for ComponentTypeError
impl From<GraphAnnisCoreError> for ComponentTypeError
source§fn from(e: GraphAnnisCoreError) -> Self
fn from(e: GraphAnnisCoreError) -> Self
Converts to this type from the input type.
source§impl From<PersistError> for GraphAnnisCoreError
impl From<PersistError> for GraphAnnisCoreError
source§fn from(source: PersistError) -> Self
fn from(source: PersistError) -> Self
Converts to this type from the input type.
source§impl<T> From<PoisonError<T>> for GraphAnnisCoreError
impl<T> From<PoisonError<T>> for GraphAnnisCoreError
source§fn from(e: PoisonError<T>) -> Self
fn from(e: PoisonError<T>) -> Self
Converts to this type from the input type.
source§impl From<Status> for GraphAnnisCoreError
impl From<Status> for GraphAnnisCoreError
source§impl From<TryFromIntError> for GraphAnnisCoreError
impl From<TryFromIntError> for GraphAnnisCoreError
source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.