Enum automerge::AutomergeError
source · pub enum AutomergeError {
Show 19 variants
ChangeGraph(MissingDep),
Deflate(Error),
DuplicateSeqNumber(u64, ActorId),
EmptyStringKey,
Fail,
InvalidActorId(String),
InvalidCharacter(usize),
InvalidHash(ChangeHash),
InvalidIndex(usize),
InvalidObjId(String),
InvalidObjIdFormat(String),
InvalidOp(ObjType),
InvalidSeq(u64),
InvalidValueType {
expected: String,
unexpected: String,
},
Load(LoadError),
MissingCounter,
MissingHash(ChangeHash),
NonChangeCompressed,
NotAnObject,
}
Variants§
ChangeGraph(MissingDep)
Deflate(Error)
DuplicateSeqNumber(u64, ActorId)
EmptyStringKey
Fail
InvalidActorId(String)
InvalidCharacter(usize)
InvalidHash(ChangeHash)
InvalidIndex(usize)
InvalidObjId(String)
InvalidObjIdFormat(String)
InvalidOp(ObjType)
InvalidSeq(u64)
InvalidValueType
Load(LoadError)
MissingCounter
MissingHash(ChangeHash)
NonChangeCompressed
NotAnObject
Trait Implementations§
source§impl Debug for AutomergeError
impl Debug for AutomergeError
source§impl Display for AutomergeError
impl Display for AutomergeError
source§impl Error for AutomergeError
impl Error for AutomergeError
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<AutomergeError> for JsValue
impl From<AutomergeError> for JsValue
source§fn from(err: AutomergeError) -> Self
fn from(err: AutomergeError) -> Self
Converts to this type from the input type.