pub enum WalletError {
Show 18 variants
File(IoError),
StockLoad(LoadError),
WalletPersist(PersistenceError),
StockPersist(PersistenceError),
WalletExec(ExecError),
Builder(BuilderError),
Contract(ContractError),
Invoicing(String),
PsbtDecode(DecodeError),
WalletUnknown(Ident),
InvalidConsignment(ValidationError),
InvalidId(Baid64ParseError),
IncompleteContract(Status),
NoTweakTerminal,
Resolver(String),
Stock(String),
Yaml(Error),
Custom(String),
}Variants§
File(IoError)
StockLoad(LoadError)
WalletPersist(PersistenceError)
StockPersist(PersistenceError)
WalletExec(ExecError)
Builder(BuilderError)
Contract(ContractError)
Invoicing(String)
PsbtDecode(DecodeError)
WalletUnknown(Ident)
wallet with id ‘{0}’ is not known to the system.
InvalidConsignment(ValidationError)
InvalidId(Baid64ParseError)
invalid identifier.
IncompleteContract(Status)
the contract source doesn’t fit requirements imposed by the used schema.
{0}
NoTweakTerminal
cannot find the terminal to add the tapret tweak to.
Resolver(String)
resolver error: {0}
Stock(String)
Yaml(Error)
Custom(String)
Trait Implementations§
Source§impl Debug for WalletError
impl Debug for WalletError
Source§impl Display for WalletError
impl Display for WalletError
Source§impl Error for WalletError
impl Error for WalletError
1.30.0 · 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<(Stock, WalletError)> for WalletError
impl From<(Stock, WalletError)> for WalletError
Source§fn from((_, e): (Stock, WalletError)) -> Self
fn from((_, e): (Stock, WalletError)) -> Self
Converts to this type from the input type.
Source§impl From<Baid64ParseError> for WalletError
impl From<Baid64ParseError> for WalletError
Source§fn from(v: Baid64ParseError) -> Self
fn from(v: Baid64ParseError) -> Self
Converts to this type from the input type.
Source§impl From<BuilderError> for WalletError
impl From<BuilderError> for WalletError
Source§fn from(v: BuilderError) -> Self
fn from(v: BuilderError) -> Self
Converts to this type from the input type.
Source§impl From<ContractError> for WalletError
impl From<ContractError> for WalletError
Source§fn from(v: ContractError) -> Self
fn from(v: ContractError) -> Self
Converts to this type from the input type.
Source§impl From<DecodeError> for WalletError
impl From<DecodeError> for WalletError
Source§fn from(v: DecodeError) -> Self
fn from(v: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for WalletError
impl From<Error> for WalletError
Source§impl From<Error> for WalletError
impl From<Error> for WalletError
Source§impl From<ExecError> for WalletError
impl From<ExecError> for WalletError
Source§impl From<Infallible> for WalletError
impl From<Infallible> for WalletError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<IoError> for WalletError
impl From<IoError> for WalletError
Source§impl From<LoadError> for WalletError
impl From<LoadError> for WalletError
Source§impl From<StockError<MemStash, MemState, MemIndex, InputError>> for WalletError
impl From<StockError<MemStash, MemState, MemIndex, InputError>> for WalletError
Source§fn from(v: StockErrorAll) -> Self
fn from(v: StockErrorAll) -> Self
Converts to this type from the input type.
Source§impl From<StockError> for WalletError
impl From<StockError> for WalletError
Source§fn from(v: StockError) -> Self
fn from(v: StockError) -> Self
Converts to this type from the input type.
Source§impl From<String> for WalletError
impl From<String> for WalletError
Source§impl From<ValidationError> for WalletError
impl From<ValidationError> for WalletError
Source§fn from(v: ValidationError) -> Self
fn from(v: ValidationError) -> Self
Converts to this type from the input type.
Source§impl From<WalletError> for String
impl From<WalletError> for String
Source§fn from(err: WalletError) -> Self
fn from(err: WalletError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletError
impl !RefUnwindSafe for WalletError
impl Send for WalletError
impl !Sync for WalletError
impl Unpin for WalletError
impl !UnwindSafe for WalletError
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<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
Source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type