eigensdk_client_wallet/
error.rs1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum PrivateKeyWalletError {
5 #[error("Failed to convert TxId to TxHash")]
7 TxIdtoTxHash,
8
9 #[error("Failed to get transaction receipt")]
11 GetTransactionReceipt,
12
13 #[error("Failed to get block number")]
15 GetBlockNumber,
16
17 #[error("Get Block from Number")]
19 GetBlock,
20
21 #[error("Faile to estimate gas and nonce")]
23 EstimateGasAndNonce,
24
25 #[error("Failed to send transaction")]
27 SendTransaction,
28
29 #[error("Failed to build Wallet from pvt key string")]
31 BuildWallet,
32
33 #[error("failed to estimate eip1559 fees")]
35 EstimateEip1559Fees,
36
37 #[error("Failed to estimate gas")]
39 EstimateGas,
40
41 #[error("Failed to get transaction receipt")]
43 TransactionReceipt,
44}