Class MoneroRpcError

Error when interacting with Monero RPC.

Hierarchy

Constructors

  • Constructs the error.

    Parameters

    • rpcDescription: any

      is a description of the error from rpc

    • rpcCode: any

      is the error code from rpc

    • Optional rpcMethod: any

      is the rpc method invoked

    • Optional rpcParams: any

      are parameters sent with the rpc request

    Returns MoneroRpcError

Properties

code: number
message: string
name: string
rpcMethod: any
rpcParams: any
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Returns any

  • Returns any

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc