Module ac_node_api::error

source ·
Expand description

The errors use in the node-api crate.

This file is mostly subxt.

Re-exports

Structs

  • Details about a module error that has occurred.
  • The error details about a module error that has occurred.

Enums

  • Block error
  • This is our attempt to decode a runtime DispatchError. We either successfully decode it into a ModuleError, or we fail and keep hold of the bytes, which we can attempt to decode if we have an appropriate static type to hand.
  • The underlying error enum, generic over the type held by the Runtime variant. Prefer to use the Error<E> and Error aliases over using this type directly.
  • An error with the interpretation of a secret.
  • Something went wrong trying to encode a storage address.
  • Transaction error.
  • Errors that can occur while checking the validity of a transaction.