From 8315134d78b954af830b114512dbb5de6145dc66 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Mon, 27 Nov 2023 17:30:24 +0100 Subject: rename EmptyIdentity -> DerivingRoot Seems to fit better what the error actually means. --- src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/error.rs') 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. /// -- cgit v1.2.3