Module

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

Package publishing for deno.land/x/polkadot
Go to Latest
interface DispatchError
implements Enum
import { type DispatchError } from "https://dotland.deno.dev/x/polkadot@0.2.35/types/interfaces/index.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"
import DispatchError
import { DispatchError } from "https://dotland.deno.dev/x/polkadot@0.2.35/types/interfaces/index.ts";