pub enum BalanceTxCapacityError {
Show 13 variants
TxFee(TransactionFeeError),
TxDep(TransactionDependencyError),
CapacityNotEnough(String),
ForceSmallChangeAsFeeFailed(u64),
EmptyCapacityProvider,
CellCollector(CellCollectorError),
ResolveCellDepFailed(Script),
InvalidWitnessArgs(Error),
InvalidSinceValue(usize, usize),
ChangeIndexNotFound(usize),
FailEstimateCycles(RpcError),
VerifyScript(String),
AlreadyBalance(u64, u64),
}Variants§
TxFee(TransactionFeeError)
TxDep(TransactionDependencyError)
CapacityNotEnough(String)
ForceSmallChangeAsFeeFailed(u64)
EmptyCapacityProvider
CellCollector(CellCollectorError)
ResolveCellDepFailed(Script)
InvalidWitnessArgs(Error)
InvalidSinceValue(usize, usize)
ChangeIndexNotFound(usize)
FailEstimateCycles(RpcError)
VerifyScript(String)
AlreadyBalance(u64, u64)
Trait Implementations§
source§impl Debug for BalanceTxCapacityError
impl Debug for BalanceTxCapacityError
source§impl Display for BalanceTxCapacityError
impl Display for BalanceTxCapacityError
source§impl Error for BalanceTxCapacityError
impl Error for BalanceTxCapacityError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<BalanceTxCapacityError> for TxBuilderError
impl From<BalanceTxCapacityError> for TxBuilderError
source§fn from(source: BalanceTxCapacityError) -> Self
fn from(source: BalanceTxCapacityError) -> Self
Converts to this type from the input type.
source§impl From<CellCollectorError> for BalanceTxCapacityError
impl From<CellCollectorError> for BalanceTxCapacityError
source§fn from(source: CellCollectorError) -> Self
fn from(source: CellCollectorError) -> Self
Converts to this type from the input type.
source§impl From<RpcError> for BalanceTxCapacityError
impl From<RpcError> for BalanceTxCapacityError
source§impl From<TransactionDependencyError> for BalanceTxCapacityError
impl From<TransactionDependencyError> for BalanceTxCapacityError
source§fn from(source: TransactionDependencyError) -> Self
fn from(source: TransactionDependencyError) -> Self
Converts to this type from the input type.
source§impl From<TransactionFeeError> for BalanceTxCapacityError
impl From<TransactionFeeError> for BalanceTxCapacityError
source§fn from(source: TransactionFeeError) -> Self
fn from(source: TransactionFeeError) -> Self
Converts to this type from the input type.