xrpl/signing/
exceptions.rs1use alloc::string::String;
2use thiserror_no_std::Error;
3
4#[derive(Debug, PartialEq, Error)]
5#[non_exhaustive]
6pub enum XRPLMultisignException {
7 #[error("No signers set in the transaction. Use `sign` function with `multisign = true`.")]
8 NoSigners,
9}
10
11#[derive(Debug, Clone, PartialEq, Eq, Error)]
12#[non_exhaustive]
13pub enum XRPLSignTransactionException {
14 #[error("{0:?} value does not match X-Address tag")]
15 TagFieldMismatch(String),
16 #[error("Fee value of {0:?} is likely entered incorrectly, since it is much larger than the typical XRP transaction cost. If this is intentional, use `check_fee=Some(false)`.")]
17 FeeTooHigh(String),
18 #[error("Wallet is required to sign transaction")]
19 WalletRequired,
20}