Re-alphabetized the AutomergeError variants.

This commit is contained in:
Jason Kankiewicz 2022-11-30 23:30:25 -08:00
parent 6830131d03
commit ba066153eb

View file

@ -28,6 +28,8 @@ pub enum AutomergeError {
InvalidObjId(String),
#[error("invalid obj id format `{0}`")]
InvalidObjIdFormat(String),
#[error("invalid op for object of type `{0}`")]
InvalidOp(ObjType),
#[error("seq {0} is out of bounds")]
InvalidSeq(u64),
#[error("invalid type of value, expected `{expected}` but received `{unexpected}`")]
@ -45,8 +47,6 @@ pub enum AutomergeError {
NonChangeCompressed,
#[error("id was not an object id")]
NotAnObject,
#[error("invalid op for object of type `{0}`")]
InvalidOp(ObjType),
}
impl PartialEq for AutomergeError {