diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-11-27 17:30:24 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-11-27 17:30:24 +0100 |
commit | 8315134d78b954af830b114512dbb5de6145dc66 (patch) | |
tree | c77d7cc27ac59110b61763b7faa7b565d62c6590 /src/error.rs | |
parent | be9d0e07c3377a13f96363fd8bd7925b3ae17778 (diff) | |
download | hohibe-8315134d78b954af830b114512dbb5de6145dc66.tar.gz hohibe-8315134d78b954af830b114512dbb5de6145dc66.tar.bz2 hohibe-8315134d78b954af830b114512dbb5de6145dc66.zip |
rename EmptyIdentity -> DerivingRoot
Seems to fit better what the error actually means.
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs index a79b8e0..4a5c204 100644 --- a/src/error.rs +++ b/src/error.rs @@ -14,8 +14,8 @@ pub enum Error { /// Error returned when trying to derive the root identity, as there is no parent key for the /// root. - #[error("The supplied identity had no elements")] - EmptyIdentity, + #[error("Cannot derive the root identity")] + DerivingRoot, /// Error when the given ciphertext was malformed. /// |