Skip to main content

bolt_cw_sdk/tx_builder/
error.rs

1use thiserror::Error;
2#[derive(Error, Debug)]
3pub enum TxBuilderError {
4    #[error("BIP32 Error: {0}")]
5    BIP32Error(#[from] bip32::Error),
6    #[error("Cosmrs Error: {0}")]
7    CosmrsError(#[from] cosmrs::Error),
8    #[error("Cosmrs Error Report: {0}")]
9    CosmrsErrorReport(#[from] cosmrs::ErrorReport),
10    #[error("Tx Fees not set")]
11    FeesNotSet,
12}