aum_core/
error.rs

1#[derive(Debug, thiserror::Error)]
2pub enum Error {
3    #[error("{0}")]
4    AddressError(#[from] crate::address::AddressError),
5    #[error("{0}")]
6    TransactionError(#[from] crate::transaction::TransactionError),
7    #[error("{0}")]
8    KeypairError(#[from] crate::keypair::KeyPairError),
9    #[error("{0}")]
10    MonitorError(#[from] crate::monitor::MonitorError),
11    #[error("{0}")]
12    WalletManagerError(#[from] crate::wallet::WalletManagerError),
13    #[error("{0}")]
14    WalletError(#[from] crate::wallet::WalletError),
15    #[error("{0}")]
16    HashError(#[from] crate::hash::HashError),
17}