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

pub enum BSVErrors {
Show 30 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>), PublicKeyRecoveryError(StringOption<Error>), MessageVerification(String), GenerateScript(String), InvalidSeedHmacError(String), DerivationError(String), FromWIF(String), ToSighash(String), FromSighash(String), OutOfBounds(String), ECIESError(String), DeserialiseTransaction(StringError), SerialiseTransaction(StringError), DeserialiseScript(String), SerialiseScript(StringOption<Error>), DeserialiseTxIn(StringError), SerialiseTxIn(StringError), DeserialiseTxOut(StringError), SerialiseTxOut(StringError),
}

Variants

ECDSAError(Error)

Tuple Fields of ECDSAError

0: Error
CurveError(Error)

Tuple Fields of CurveError

0: Error
HexDecode(FromHexError)

Tuple Fields of HexDecode

0: FromHexError
Base58Decode(Error)

Tuple Fields of Base58Decode

0: Error
Io(Error)

Tuple Fields of Io

0: Error
ParseInt(ParseIntError)

Tuple Fields of ParseInt

0: ParseIntError
RandomnessGeneration(Error)

Tuple Fields of RandomnessGeneration

0: Error
Json(Error)

Tuple Fields of Json

0: Error
InvalidKeyIvLength(InvalidKeyIvLength)

Tuple Fields of InvalidKeyIvLength

0: InvalidKeyIvLength
BlockModeError(BlockModeError)

Tuple Fields of BlockModeError

0: BlockModeError
CborSerialise(Error<Error>)

Tuple Fields of CborSerialise

0: Error<Error>
CborDeserialise(Error<Error>)

Tuple Fields of CborDeserialise

0: Error<Error>
PublicKeyRecoveryError(StringOption<Error>)

Tuple Fields of PublicKeyRecoveryError

0: String1: Option<Error>
MessageVerification(String)

Tuple Fields of MessageVerification

0: String
GenerateScript(String)

Tuple Fields of GenerateScript

0: String
InvalidSeedHmacError(String)

Tuple Fields of InvalidSeedHmacError

0: String
DerivationError(String)

Tuple Fields of DerivationError

0: String
FromWIF(String)

Tuple Fields of FromWIF

0: String
ToSighash(String)

Tuple Fields of ToSighash

0: String
FromSighash(String)

Tuple Fields of FromSighash

0: String
OutOfBounds(String)

Tuple Fields of OutOfBounds

0: String
ECIESError(String)

Tuple Fields of ECIESError

0: String
DeserialiseTransaction(StringError)

Tuple Fields of DeserialiseTransaction

0: String1: Error
SerialiseTransaction(StringError)

Tuple Fields of SerialiseTransaction

0: String1: Error
DeserialiseScript(String)

Tuple Fields of DeserialiseScript

0: String
SerialiseScript(StringOption<Error>)

Tuple Fields of SerialiseScript

0: String1: Option<Error>
DeserialiseTxIn(StringError)

Tuple Fields of DeserialiseTxIn

0: String1: Error
SerialiseTxIn(StringError)

Tuple Fields of SerialiseTxIn

0: String1: Error
DeserialiseTxOut(StringError)

Tuple Fields of DeserialiseTxOut

0: String1: Error
SerialiseTxOut(StringError)

Tuple Fields of SerialiseTxOut

0: String1: 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.