From 8dde14910c1f5dcad82469a710372d1664f16e93 Mon Sep 17 00:00:00 2001 From: Juan Girini Date: Mon, 14 Oct 2024 09:57:29 +0200 Subject: [PATCH] chore: add docs to murmur errors --- core/src/murmur.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/murmur.rs b/core/src/murmur.rs index 4117da9..8f32a4f 100644 --- a/core/src/murmur.rs +++ b/core/src/murmur.rs @@ -45,7 +45,9 @@ use w3f_bls::{DoublePublicKey, EngineBLS}; /// Error types for murmur wallet usage #[derive(Debug, PartialEq)] pub enum Error { + /// An error occurred when executing a call ExecuteError, + /// An error occurred when creating a murmur wallet MMRError, InconsistentStore, /// No leaf could be identified in the MMR at the specified position @@ -60,6 +62,7 @@ pub enum Error { InvalidSeed, /// The public key was invalid (could not be decoded) InvalidPubkey, + /// The key derivation failed KeyDerivationFailed, }