pub enum TransactionError {
OK,
MISSING_INPUTS,
ALREADY_IN_CHAIN,
P2P_DISABLED,
MEMPOOL_REJECTED,
MEMPOOL_ERROR,
INVALID_PSBT,
PSBT_MISMATCH,
SIGHASH_MISMATCH,
MAX_FEE_EXCEEDED,
EXTERNAL_SIGNER_NOT_FOUND,
EXTERNAL_SIGNER_FAILED,
}
Expand description
| util/error.h is a common place for definitions | of simple error types and string functions. | Types and functions defined here should | not require any outside dependencies. | | Error types defined here can be used | in different parts of the codebase, | to avoid the need to write boilerplate | code catching and translating errors | passed across wallet/node/rpc/gui | code boundaries. |
Variants§
OK
| No error |
MISSING_INPUTS
ALREADY_IN_CHAIN
P2P_DISABLED
MEMPOOL_REJECTED
MEMPOOL_ERROR
INVALID_PSBT
PSBT_MISMATCH
SIGHASH_MISMATCH
MAX_FEE_EXCEEDED
EXTERNAL_SIGNER_NOT_FOUND
EXTERNAL_SIGNER_FAILED
Auto Trait Implementations§
impl RefUnwindSafe for TransactionError
impl Send for TransactionError
impl Sync for TransactionError
impl Unpin for TransactionError
impl UnwindSafe for TransactionError
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more