pub enum MergeRevealError {
OperationMismatch(OpId, OpId),
SignatureMismatch(OpId),
ChainMismatch {
bitcoin: Txid,
liquid: Txid,
},
TxidMismatch(Txid, Txid),
AnchorsNonEqual(BundleId),
AssignmentsDifferentKeys,
ContractMismatch,
}Variants§
OperationMismatch(OpId, OpId)
operations {0} and {1} have different commitment ids and can’t be merge-revealed. This usually means internal application business logic error which should be reported to the software vendor.
SignatureMismatch(OpId)
operations with ID {0} have different signatures and can’t be merge-revealed. This usually means internal application business logic error which should be reported to the software vendor.
ChainMismatch
mismatch in anchor chains: one grip references bitcoin transaction {bitcoin} and the other merged part references liquid transaction {liquid}.
TxidMismatch(Txid, Txid)
mismatching transaction id for merge-revealed: {0} and {1}.
AnchorsNonEqual(BundleId)
anchors in anchored bundle are not equal for bundle {0}.
AssignmentsDifferentKeys
assignments have different keys.
ContractMismatch
contract id provided for the merge-reveal operation doesn’t match multiprotocol commitment.
Trait Implementations§
Source§impl Clone for MergeRevealError
impl Clone for MergeRevealError
Source§fn clone(&self) -> MergeRevealError
fn clone(&self) -> MergeRevealError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MergeRevealError
impl Debug for MergeRevealError
Source§impl Display for MergeRevealError
impl Display for MergeRevealError
Source§impl Error for MergeRevealError
impl Error for MergeRevealError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<InvalidProof> for MergeRevealError
impl From<InvalidProof> for MergeRevealError
Source§fn from(v: InvalidProof) -> MergeRevealError
fn from(v: InvalidProof) -> MergeRevealError
Source§impl From<LeafNotKnown> for MergeRevealError
impl From<LeafNotKnown> for MergeRevealError
Source§fn from(v: LeafNotKnown) -> MergeRevealError
fn from(v: LeafNotKnown) -> MergeRevealError
Source§impl From<MergeRevealError> for ConsignError
impl From<MergeRevealError> for ConsignError
Source§fn from(v: MergeRevealError) -> ConsignError
fn from(v: MergeRevealError) -> ConsignError
Source§impl From<MergeRevealError> for SealWitnessMergeError
impl From<MergeRevealError> for SealWitnessMergeError
Source§fn from(v: MergeRevealError) -> SealWitnessMergeError
fn from(v: MergeRevealError) -> SealWitnessMergeError
Source§impl From<MergeRevealError> for StashDataError
impl From<MergeRevealError> for StashDataError
Source§fn from(v: MergeRevealError) -> StashDataError
fn from(v: MergeRevealError) -> StashDataError
Source§impl<P> From<MergeRevealError> for StashError<P>where
P: StashProvider,
impl<P> From<MergeRevealError> for StashError<P>where
P: StashProvider,
Source§fn from(v: MergeRevealError) -> StashError<P>
fn from(v: MergeRevealError) -> StashError<P>
Source§impl<S, H, P> From<MergeRevealError> for StockError<S, H, P, ConsignError>
impl<S, H, P> From<MergeRevealError> for StockError<S, H, P, ConsignError>
Source§fn from(err: MergeRevealError) -> StockError<S, H, P, ConsignError>
fn from(err: MergeRevealError) -> StockError<S, H, P, ConsignError>
Source§impl From<MergeRevealError> for String
impl From<MergeRevealError> for String
Source§fn from(err: MergeRevealError) -> String
fn from(err: MergeRevealError) -> String
Source§impl PartialEq for MergeRevealError
impl PartialEq for MergeRevealError
impl Copy for MergeRevealError
impl Eq for MergeRevealError
impl StructuralPartialEq for MergeRevealError
Auto Trait Implementations§
impl Freeze for MergeRevealError
impl RefUnwindSafe for MergeRevealError
impl Send for MergeRevealError
impl Sync for MergeRevealError
impl Unpin for MergeRevealError
impl UnwindSafe for MergeRevealError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.