cosm_tome_wasm_deploy_fork/modules/tx/error.rs
1use thiserror::Error;
2
3use crate::{chain::error::ChainError, modules::auth::error::AccountError};
4
5#[derive(Error, Debug)]
6pub enum TxError {
7 #[error("unsupported BroadcastMode: {i:?}")]
8 BroadcastMode { i: i32 },
9
10 #[error(transparent)]
11 AccountError(#[from] AccountError),
12
13 #[error(transparent)]
14 ChainError(#[from] ChainError),
15}