Class MoneroError

Exception when interacting with a Monero wallet or daemon.

Hierarchy

Constructors

  • Constructs the error.

    Parameters

    • message: any

      is a human-readable message or the error to wrap

    • Optional code: any

      is the error code (optional)

    Returns MoneroError

Properties

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

Type declaration

stackTraceLimit: number

Methods

  • Returns number

  • Returns string

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc