diff options
Diffstat (limited to 'lockchain-core/src/errors')
-rw-r--r-- | lockchain-core/src/errors/vault.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lockchain-core/src/errors/vault.rs b/lockchain-core/src/errors/vault.rs index bcfcd13..37d8662 100644 --- a/lockchain-core/src/errors/vault.rs +++ b/lockchain-core/src/errors/vault.rs @@ -5,6 +5,10 @@ use std::fmt::{Display, Formatter, Result}; #[derive(Debug, Serialize, Deserialize)] pub enum Error { + /// Indicates that **mandatory** fields in the + /// vault generator haven't been set – vault + /// constructor was never called. + IncompleteGenerator, /// A vault already exists with that path-id AlreadyExists, /// The provided path is invalid |