aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/store.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/document/store.rs')
-rw-r--r--src/document/store.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/document/store.rs b/src/document/store.rs
index c946fef..d323928 100644
--- a/src/document/store.rs
+++ b/src/document/store.rs
@@ -181,6 +181,10 @@ pub(crate) enum StoreError {
"the swarm's policy (_continuum/access/policy) is one this node doesn't know ({0}); upgrade it to write"
)]
UnknownPolicy(String),
+ /// Every node would refuse the change this write makes (`access::rules`), why:
+ /// the write is rolled back.
+ #[error("every node would refuse this write: {0}")]
+ Refused(String),
#[error(transparent)]
Doc(#[from] automerge::AutomergeError),
#[error(transparent)]