[][src]Enum firma::common::error::Error

pub enum Error {
    Generic(String),
    FileExist(PathBuf),
    DiceValueErr(u32u32),
    WrongKeyFileName,
    MissingPrevoutTx,
    MismatchPrevoutHash,
    MissingDatadir,
    MissingNetwork,
    MissingDaemonOpts,
    MissingOutpoint,
    MissingTxout,
    MissingKey,
    MissingSighash,
    MissingWitnessUtxo,
    MissingAddress,
    MissingRescanUpTo,
    MissingHex,
    FileNotFoundOrCorrupt(PathBufString),
    MissingName,
    NeedAtLeastOne,
    CannotRetrieveHomeDir,
    AddressFromDescriptorFails,
    CaptureGroupNotFound(String),
    NonDefaultScript,
    ScriptEmpty,
    IncompatibleNetworks,
    Mnemonic(Error),
    PSBTNotChangedAfterMerge,
    PSBTBadStringEncoding(String),
    PSBTCannotDeserialize(Error),
    MaybeEncryptedWrongState,
    Encryption(Error),
    EncryptionKeyNot32Bytes(usize),
    MissingEncryptionKey,
    InvalidMessageSignature,
    BitcoinRpc(Error),
    BitcoinEncode(Error),
    BitcoinKey(Error),
    BitcoinSecp256k1(Error),
    BitcoinPSBT(Error),
    BitcoinAddress(Error),
    BitcoinBech32(Error),
    BitcoinScriptError(Error),
    Serde(Error),
    IO(Error),
    Base58(Error),
    Bip32(Error),
    Base64(DecodeError),
    PathStrip(StripPrefixError),
    Qr(QrError),
    Hex(FromHexError),
    Env(VarError),
    Utf8(Utf8Error),
    Nul(NulError),
    ParseInt(ParseIntError),
    Miniscript(Error),
    Bmp(BmpError),
}

Variants

Generic(String)
FileExist(PathBuf)
DiceValueErr(u32u32)
WrongKeyFileName
MissingPrevoutTx
MismatchPrevoutHash
MissingDatadir
MissingNetwork
MissingDaemonOpts
MissingOutpoint
MissingTxout
MissingKey
MissingSighash
MissingWitnessUtxo
MissingAddress
MissingRescanUpTo
MissingHex
FileNotFoundOrCorrupt(PathBufString)
MissingName
NeedAtLeastOne
CannotRetrieveHomeDir
AddressFromDescriptorFails
CaptureGroupNotFound(String)
NonDefaultScript
ScriptEmpty
IncompatibleNetworks
Mnemonic(Error)
PSBTNotChangedAfterMerge
PSBTBadStringEncoding(String)
PSBTCannotDeserialize(Error)
MaybeEncryptedWrongState
Encryption(Error)
EncryptionKeyNot32Bytes(usize)
MissingEncryptionKey
InvalidMessageSignature
BitcoinRpc(Error)
BitcoinEncode(Error)
BitcoinKey(Error)
BitcoinSecp256k1(Error)
BitcoinPSBT(Error)
BitcoinAddress(Error)
BitcoinBech32(Error)
BitcoinScriptError(Error)
Serde(Error)
IO(Error)
Base58(Error)
Bip32(Error)
Base64(DecodeError)
PathStrip(StripPrefixError)
Utf8(Utf8Error)
ParseInt(ParseIntError)
Miniscript(Error)
Bmp(BmpError)

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl<'_> From<&'_ str> for Error[src]

impl From<BmpError> for Error[src]

impl From<DecodeError> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<FromHexError> for Error[src]

impl From<NulError> for Error[src]

impl From<ParseIntError> for Error[src]

impl From<QrError> for Error[src]

impl From<String> for Error[src]

impl From<StripPrefixError> for Error[src]

impl From<Utf8Error> for Error[src]

impl From<VarError> for Error[src]

impl ToJson for Error[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,