Enum json_ld::FlattenError
source · pub enum FlattenError<I, B, M, E, C> {
Expand(ExpandError<M, E, C>),
Compact(CompactError<M, E, C>),
ConflictingIndexes(ConflictingIndexes<I, B, M>),
Loading(E),
ContextLoading(C),
}
Expand description
Error that can be raised by the JsonLdProcessor::flatten
function.
Variants§
Expand(ExpandError<M, E, C>)
Compact(CompactError<M, E, C>)
ConflictingIndexes(ConflictingIndexes<I, B, M>)
Loading(E)
ContextLoading(C)
Implementations§
Trait Implementations§
source§impl<I, B, M, E, C> Display for FlattenError<I, B, M, E, C>where
ExpandError<M, E, C>: Display,
CompactError<M, E, C>: Display,
ConflictingIndexes<I, B, M>: Display,
E: Display,
C: Display,
impl<I, B, M, E, C> Display for FlattenError<I, B, M, E, C>where
ExpandError<M, E, C>: Display,
CompactError<M, E, C>: Display,
ConflictingIndexes<I, B, M>: Display,
E: Display,
C: Display,
source§impl<I, B, M, E, C> Error for FlattenError<I, B, M, E, C>where
Self: Debug + Display,
impl<I, B, M, E, C> Error for FlattenError<I, B, M, E, C>where
Self: Debug + Display,
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()