Enum sn_dbc::Error [−][src]
#[non_exhaustive] pub enum Error {}Show 25 variants
Signing(String), InvalidOperation(String), UnknownInput, FilteredInputNotPresent, FailedSignature, UnrecognisedAuthority, MissingSignatureForInput, MissingInputOwnerProof, DbcReissueRequestDoesNotBalance, FailedUnblinding, DbcAlreadySpent { transaction: DbcTransaction, transaction_sigs: BTreeMap<Hash, (PublicKeySet, NodeSignature)>, }, GenesisInputAlreadySpent, NotGenesisNode, TransactionMustHaveAnInput, DbcContentNotPresentInTransactionOutput, DbcContentParentsDifferentFromTransactionInputs, RangeProof(ProofError), DecryptionBySharesFailed(Error), DecryptionBySecretKeyFailed, AmountSecretsBytesInvalid, AmountCommitmentInvalid, Io(Error), JsonSerialisation(Error), SpendBook(String), Infallible(Infallible),
Expand description
Node error variants.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Tuple Fields of Signing
0: String
Tuple Fields of InvalidOperation
0: String
Fields of DbcAlreadySpent
transaction: DbcTransaction
transaction_sigs: BTreeMap<Hash, (PublicKeySet, NodeSignature)>
Tuple Fields of RangeProof
0: ProofError
I/O error.
Tuple Fields of Io
0: Error
JSON serialisation error.
Tuple Fields of JsonSerialisation
0: Error
Tuple Fields of SpendBook
0: String
Tuple Fields of Infallible
0: Infallible
Trait Implementations
Performs the conversion.
Performs the conversion.