Module ac_node_api::error
source · Expand description
The errors use in the node-api crate.
This file is mostly subxt.
Re-exports
pub use crate::decoder::DecodeError;
pub use crate::decoder::EncodeError;
pub use crate::metadata::InvalidMetadataError;
pub use crate::metadata::MetadataError;
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. - 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.