1 2 3 4 5 6 7 8 9
#[derive(thiserror::Error, Debug, PartialEq, Eq)] pub enum Error { #[error("Chain ID not set")] NoChainID, #[error("Fee not set")] FeeNotSet, #[error("Value balance of this transaction is not zero")] NonZeroValueBalance, }