Class JSONRPCErrorException

Hierarchy

  • Error
    • JSONRPCErrorException

Implements

  • JSONRPCError

Constructors

  • Parameters

    • message: string
    • code: number
    • Optionaldata: any

    Returns JSONRPCErrorException

Properties

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

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Returns JSONRPCError

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void