Path Parameters
- palletIdstringREQUIRED
The name or index of the pallet to read error metadata for.
- errorItemIdstringREQUIRED
The id of the error item to query for.
Query Parameters
- atstring
Block at which to query the error item at.
- metadataboolean
Include the error items metadata (including documentation) if set to true.
Returns
- atobject
An object containing information about the state
- hashstring
The block's hash
- heightstring
The block's height
- palletstring
The name of the pallet (or module) within the blockchain's runtime
- palletIndexstring
The index of the pallet in the runtime
- errorItemstring
The id of the error item
- metadataobject
The metadata object which contains the following fields:
- namestring
The name of the error
- fieldsarray
An array meant to list any fields associated with the error
- indexstring
The index or identifier of the error within the pallet
- docsarray
An array containing documentation strings that describe the error
- argsarray
The arguments required by the error