nimiq_keys/errors.rs
1pub use ed25519_zebra::{ed25519::Error as SignatureError, Error as KeysError};
2use hex::FromHexError;
3use thiserror::Error;
4
5#[derive(Debug, Error)]
6pub enum ParseError {
7 #[error("{0}")]
8 FromHex(#[from] FromHexError),
9 #[error("{0}")]
10 KeysError(#[from] KeysError),
11 #[error("{0}")]
12 SignatureError(#[from] SignatureError),
13}