Class SailAccountLoadError

Thrown if an account could not be loaded.

Hierarchy

Constructors

Properties

_isSailError: boolean = true
accountId: PublicKey
cause: string = ...

Underlying error message.

message: string
name: string
originalError: unknown

The original error thrown, if applicable.

sailErrorName: "SailUnknownTXFailError" | "SailTransactionError" | "SailInsufficientSOLError" | "SailRefetchAfterTXError" | "SailRefetchSubscriptionsError" | "SailTransactionSignError" | "SailCacheRefetchError" | "SailAccountParseError" | "SailProgramAccountParseError" | "SailAccountLoadError" | "SailSignAndConfirmError" | "SailGetMultipleAccountsError"

Name of the Sail error.

stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Accessors

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc