Merge pull request #62 from FliegendeWurst/error-trait Implement Error for SecretParseError
diff --git a/src/secret.rs b/src/secret.rs
index f9ac152..5487870 100644
--- a/src/secret.rs
+++ b/src/secret.rs
@@ -88,6 +88,8 @@ pub enum SecretParseError {
ParseBase32,
}
+impl std::error::Error for SecretParseError {}
+
impl std::fmt::Display for SecretParseError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {