Optional
dispatchError
dispatchError?:
| {
type: "CannotLookup";
}
| {
type: "Other";
}
| {
type: "BadOrigin";
}
| {
type: "Module";
value: {
error: `0x${string}`;
index: number;
};
}
| {
type: "ConsumerRemaining";
}
| {
type: "NoProviders";
}
| {
type: "TooManyConsumers";
}
| {
type: "Token";
value:
| "Frozen"
| "Blocked"
| "Unsupported"
| "BelowMinimum"
| "FundsUnavailable"
| "OnlyProvider"
| "CannotCreate"
| "UnknownAsset"
| "CannotCreateHold"
| "NotExpendable";
}
| {
type: "Arithmetic";
value: "Overflow" | "Underflow" | "DivisionByZero";
}
| {
type: "Transactional";
value: "LimitReached" | "NoLayer";
}
| {
type: "Exhausted";
}
| {
type: "Corruption";
}
| {
type: "Unavailable";
}
| {
type: "RootNotAllowed";
}