Enum bdk::descriptor::error::Error [−][src]
pub enum Error {
InvalidHdKeyPath,
InvalidDescriptorChecksum,
HardenedDerivationXpub,
DuplicatedKeys,
Key(KeyError),
Policy(PolicyError),
InvalidDescriptorCharacter(char),
Bip32(Error),
Base58(Error),
Pk(Error),
Miniscript(Error),
Hex(Error),
}
Expand description
Errors related to the parsing and usage of descriptors
Variants
Invalid HD Key path, such as having a wildcard but a length != 1
The provided descriptor doesn’t match its checksum
The descriptor contains hardened derivation steps on public extended keys
The descriptor contains multiple keys with the same BIP32 fingerprint
Key(KeyError)
Error thrown while working with keys
Tuple Fields of Key
0: KeyError
Policy(PolicyError)
Error while extracting and manipulating policies
Tuple Fields of Policy
0: PolicyError
InvalidDescriptorCharacter(char)
Invalid character found in the descriptor checksum
Tuple Fields of InvalidDescriptorCharacter
0: char
Bip32(Error)
BIP32 error
Tuple Fields of Bip32
0: Error
Base58(Error)
Error during base58 decoding
Tuple Fields of Base58
0: Error
Pk(Error)
Key-related error
Tuple Fields of Pk
0: Error
Miniscript(Error)
Miniscript error
Tuple Fields of Miniscript
0: Error
Hex decoding error
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more