Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/types/interfaces/system/types.ts>DispatchError

Package publishing for deno.land/x/polkadot
Go to Latest
interface DispatchError
implements Enum
import { type DispatchError } from "https://deno.land/x/polkadot@0.2.14/types/interfaces/system/types.ts";

Properties

readonly
isOther: boolean
readonly
isCannotLookup: boolean
readonly
isBadOrigin: boolean
readonly
isModule: boolean
readonly
asModule: DispatchErrorModule
readonly
isConsumerRemaining: boolean
readonly
isNoProviders: boolean
readonly
isTooManyConsumers: boolean
readonly
isToken: boolean
readonly
asToken: TokenError
readonly
isArithmetic: boolean
readonly
asArithmetic: ArithmeticError
readonly
isTransactional: boolean
readonly
asTransactional: TransactionalError
readonly
isExhausted: boolean
readonly
isCorruption: boolean
readonly
isUnavailable: boolean
readonly
type:
| "Other"
| "CannotLookup"
| "BadOrigin"
| "Module"
| "ConsumerRemaining"
| "NoProviders"
| "TooManyConsumers"
| "Token"
| "Arithmetic"
| "Transactional"
| "Exhausted"
| "Corruption"
| "Unavailable"