Module subxt::error

source ·
Expand description

Types representing the errors that can be returned.

Structs

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

Enums

Block error
An error decoding SCALE bytes.
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 encoding a Value into SCALE bytes.
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.
Error originated from converting a runtime metadata RuntimeMetadataPrefixed to the internal Metadata representation.
Metadata error originated from inspecting the internal representation of the runtime metadata.
An RPC error. Since we are generic over the RPC client that is used, the error is boxed and could be casted.
Something went wrong trying to encode a storage address.
Transaction error.