pub enum EscrowError {
}Expand description
Main error type for the escrow library.
Variants§
Bitcoin(Error)
Error related to Bitcoin operations.
Key(String)
Error related to key operations.
Multisig(String)
Error related to multisig operations.
Contract(String)
Error related to escrow contract operations.
Condition(String)
Error related to condition evaluation.
Oracle(String)
Error related to oracle operations.
Audit(String)
Error related to audit logging.
Transaction(String)
Error related to transaction operations.
Signing(String)
Error related to signing operations.
Descriptor(String)
Error related to descriptor operations.
InvalidState(String)
Invalid state for the requested operation.
MissingData(String)
Missing required data.
Serialization(Error)
Serialization/deserialization error.
Io(Error)
IO error.
Wallet(String)
BDK wallet error.
Other(String)
Generic error with message.
Trait Implementations§
Source§impl Debug for EscrowError
impl Debug for EscrowError
Source§impl Display for EscrowError
impl Display for EscrowError
Source§impl Error for EscrowError
impl Error for EscrowError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<Error> for EscrowError
impl From<Error> for EscrowError
Source§impl From<Error> for EscrowError
impl From<Error> for EscrowError
Auto Trait Implementations§
impl Freeze for EscrowError
impl !RefUnwindSafe for EscrowError
impl Send for EscrowError
impl Sync for EscrowError
impl Unpin for EscrowError
impl UnsafeUnpin for EscrowError
impl !UnwindSafe for EscrowError
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
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.