Enum ckb_sdk::tx_builder::TxBuilderError
source · pub enum TxBuilderError {
InvalidParameter(Error),
TxDep(TransactionDependencyError),
CellCollector(CellCollectorError),
BalanceCapacity(BalanceTxCapacityError),
ResolveCellDepFailed(Script),
ResolveHeaderDepByTxHashFailed(Byte32),
ResolveHeaderDepByNumberFailed(u64),
Unlock(UnlockError),
ExceedCycleMaxLoopTimes(u32),
Other(Error),
}Expand description
Transaction builder errors
Variants§
InvalidParameter(Error)
TxDep(TransactionDependencyError)
CellCollector(CellCollectorError)
BalanceCapacity(BalanceTxCapacityError)
ResolveCellDepFailed(Script)
ResolveHeaderDepByTxHashFailed(Byte32)
ResolveHeaderDepByNumberFailed(u64)
Unlock(UnlockError)
ExceedCycleMaxLoopTimes(u32)
Other(Error)
Trait Implementations§
source§impl Debug for TxBuilderError
impl Debug for TxBuilderError
source§impl Display for TxBuilderError
impl Display for TxBuilderError
source§impl Error for TxBuilderError
impl Error for TxBuilderError
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 TxBuilderError
impl From<CellCollectorError> for TxBuilderError
source§fn from(source: CellCollectorError) -> Self
fn from(source: CellCollectorError) -> Self
Converts to this type from the input type.
source§impl From<TransactionDependencyError> for TxBuilderError
impl From<TransactionDependencyError> for TxBuilderError
source§fn from(source: TransactionDependencyError) -> Self
fn from(source: TransactionDependencyError) -> Self
Converts to this type from the input type.
source§impl From<UnlockError> for TxBuilderError
impl From<UnlockError> for TxBuilderError
source§fn from(source: UnlockError) -> Self
fn from(source: UnlockError) -> Self
Converts to this type from the input type.