alloy_signer_local/
error.rsuse alloy_primitives::hex;
use k256::ecdsa;
use thiserror::Error;
#[derive(Debug, Error)]
pub enum LocalSignerError {
#[error(transparent)]
EcdsaError(#[from] ecdsa::Error),
#[error(transparent)]
HexError(#[from] hex::FromHexError),
#[error(transparent)]
IoError(#[from] std::io::Error),
#[error(transparent)]
#[cfg(feature = "mnemonic")]
Bip32Error(#[from] coins_bip32::Bip32Error),
#[error(transparent)]
#[cfg(feature = "mnemonic")]
Bip39Error(#[from] coins_bip39::MnemonicError),
#[error(transparent)]
#[cfg(feature = "mnemonic")]
MnemonicBuilderError(#[from] super::mnemonic::MnemonicBuilderError),
#[cfg(feature = "keystore")]
#[error(transparent)]
EthKeystoreError(#[from] eth_keystore::KeystoreError),
}