Skip to main content

MetadataError

An error defined in a metadata pallet.

docsstring[]required

Error documentation. One item per line in the array.

Example: ["Call documentation line 1.","Call documentation line 2."]
indexinteger<int32>required

Error's index inside the metadata pallet.

Possible values: >= 0

Example: 17
namestringrequired

Error name. Camel case.

Example: AssignmentsEmpty
MetadataError
{
"docs": [
"Call documentation line 1.",
"Call documentation line 2."
],
"index": 17,
"name": "AssignmentsEmpty"
}