From 33522f5500cd81b6908184deec6bd956bb8adca2 Mon Sep 17 00:00:00 2001 From: Zhai Can Date: Sun, 12 Nov 2023 15:46:00 +0800 Subject: [PATCH] impl `std::error::Error` for Error --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 0cd3ac5..5966ba3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -255,6 +255,8 @@ pub enum Error { WifKey, } +impl std::error::Error for Error {} + /// Internal Functions to manipulate an arbitrary number of bytes [u8]. trait BytesManipulation { /// Encode informed data in base 58 check.