Enum automerge_persistent::Error
source · pub enum Error<E> {
AutomergeError(AutomergeError),
AutomergeDecodeError(DecodeStateError),
AutomergeLoadChangeError(LoadChangeError),
PersisterError(E),
}Expand description
Errors that persistent documents can return.
Variants§
AutomergeError(AutomergeError)
An automerge error.
AutomergeDecodeError(DecodeStateError)
AutomergeLoadChangeError(LoadChangeError)
PersisterError(E)
A persister error.
Trait Implementations§
source§impl<E> Error for Error<E>where
E: Error,
Self: Debug + Display,
impl<E> Error for Error<E>where E: Error, Self: Debug + Display,
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<E> From<AutomergeError> for Error<E>
impl<E> From<AutomergeError> for Error<E>
source§fn from(source: AutomergeError) -> Self
fn from(source: AutomergeError) -> Self
Converts to this type from the input type.
source§impl<E> From<DecodeError> for Error<E>
impl<E> From<DecodeError> for Error<E>
source§fn from(source: DecodeStateError) -> Self
fn from(source: DecodeStateError) -> Self
Converts to this type from the input type.