Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "lndclient/errors"

Index

Variables

Object literals

Variables

Const codesPrefix

codesPrefix: string = errorCodesPrefix.LND

Object literals

Const errorCodes

errorCodes: object

DISABLED

DISABLED: string = codesPrefix.concat('.1')

NO_ACTIVE_CHANNELS

NO_ACTIVE_CHANNELS: string = codesPrefix.concat('.3')

NO_HOLD_INVOICE_SUPPORT

NO_HOLD_INVOICE_SUPPORT: string = codesPrefix.concat('.4')

UNAVAILABLE

UNAVAILABLE: string = codesPrefix.concat('.2')

Const errors

errors: object

DISABLED

  • DISABLED(currency: string): { code: string; message: string }
  • Parameters

    • currency: string

    Returns { code: string; message: string }

    • code: string
    • message: string

NO_ACTIVE_CHANNELS

  • NO_ACTIVE_CHANNELS(currency: string): { code: string; message: string }
  • Parameters

    • currency: string

    Returns { code: string; message: string }

    • code: string
    • message: string

NO_HOLD_INVOICE_SUPPORT

  • NO_HOLD_INVOICE_SUPPORT(currency: string): { code: string; message: string }
  • Parameters

    • currency: string

    Returns { code: string; message: string }

    • code: string
    • message: string

UNAVAILABLE

  • UNAVAILABLE(currency: string, status: ClientStatus): { code: string; message: string }

Generated using TypeDoc