Enum bsv_wasm::errors::BSVErrors[][src]

pub enum BSVErrors {
Show 33 variants ECDSAError(Error), CurveError(Error), HexDecode(FromHexError), Base58Decode(Error), Io(Error), ParseInt(ParseIntError), RandomnessGeneration(Error), Json(Error), InvalidKeyIvLength(InvalidKeyIvLength), BlockModeError(BlockModeError), CborSerialise(Error<Error>), CborDeserialise(Error<Error>), PublicKeyReadCompressionByte(u8), PublicKeyRecoveryError(StringOption<Error>), MessageVerification(String), GenerateScript(String), InvalidSeedHmacError(String), DerivationError(String), FromWIF(String), ToSighash(String), FromSighash(String), OutOfBounds(String), ECIESError(String), P2PKHAddress(&'static str), P2PKHAddressFromSlice(TryFromSliceError), DeserialiseTransaction(StringError), SerialiseTransaction(StringError), DeserialiseScript(String), SerialiseScript(StringOption<Error>), DeserialiseTxIn(StringError), SerialiseTxIn(StringError), DeserialiseTxOut(StringError), SerialiseTxOut(StringError),
}

Variants

ECDSAError(Error)

Tuple Fields

0: Error

CurveError(Error)

Tuple Fields

0: Error

HexDecode(FromHexError)

Tuple Fields

Base58Decode(Error)

Tuple Fields

0: Error

Io(Error)

Tuple Fields

0: Error

ParseInt(ParseIntError)

Tuple Fields

RandomnessGeneration(Error)

Tuple Fields

0: Error

Json(Error)

Tuple Fields

0: Error

InvalidKeyIvLength(InvalidKeyIvLength)

Tuple Fields

BlockModeError(BlockModeError)

Tuple Fields

CborSerialise(Error<Error>)

Tuple Fields

CborDeserialise(Error<Error>)

Tuple Fields

PublicKeyReadCompressionByte(u8)

Tuple Fields

0: u8

PublicKeyRecoveryError(StringOption<Error>)

Tuple Fields

0: String

MessageVerification(String)

Tuple Fields

0: String

GenerateScript(String)

Tuple Fields

0: String

InvalidSeedHmacError(String)

Tuple Fields

0: String

DerivationError(String)

Tuple Fields

0: String

FromWIF(String)

Tuple Fields

0: String

ToSighash(String)

Tuple Fields

0: String

FromSighash(String)

Tuple Fields

0: String

OutOfBounds(String)

Tuple Fields

0: String

ECIESError(String)

Tuple Fields

0: String

P2PKHAddress(&'static str)

Tuple Fields

0: &'static str

P2PKHAddressFromSlice(TryFromSliceError)

Tuple Fields

DeserialiseTransaction(StringError)

Tuple Fields

0: String
1: Error

SerialiseTransaction(StringError)

Tuple Fields

0: String
1: Error

DeserialiseScript(String)

Tuple Fields

0: String

SerialiseScript(StringOption<Error>)

Tuple Fields

0: String

DeserialiseTxIn(StringError)

Tuple Fields

0: String
1: Error

SerialiseTxIn(StringError)

Tuple Fields

0: String
1: Error

DeserialiseTxOut(StringError)

Tuple Fields

0: String
1: Error

SerialiseTxOut(StringError)

Tuple Fields

0: String
1: Error

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.