Class SolanaJSONRPCError

Hierarchy

  • Error
    • SolanaJSONRPCError

Constructors

  • Parameters

    • __namedParameters: Readonly<{ code: unknown; data?: any; message: string }>
    • OptionalcustomMessage: string

    Returns SolanaJSONRPCError

Properties

cause?: unknown
code: unknown
data?: any
message: string
name: string
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void