Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RaidenError

Hierarchy

  • Error
    • RaidenError

Index

Constructors

Properties

Accessors

Constructors

constructor

  • new RaidenError(message?: string, details?: unknown): RaidenError

Properties

Optional details

details: unknown

name

name: string = 'RaidenError'

Accessors

code

  • get code(): "PFS_EMPTY_URL" | "PFS_INVALID_URL" | "PFS_INVALID_INFO" | "PFS_TOO_EXPENSIVE" | "PFS_NO_ROUTES_FOUND" | "PFS_ERROR_RESPONSE" | "PFS_DISABLED" | "PFS_UNKNOWN_TOKEN_NETWORK" | "PFS_TARGET_OFFLINE" | "PFS_TARGET_NO_RECEIVE" | "PFS_LAST_IOU_REQUEST_FAILED" | "PFS_IOU_SIGNATURE_MISMATCH" | "PFS_NO_ROUTES_BETWEEN_NODES" | "CNL_INVALID_STATE" | "CNL_NO_OPEN_CHANNEL_FOUND" | "CNL_NO_OPEN_OR_CLOSING_CHANNEL_FOUND" | "CNL_NO_SETTLEABLE_OR_SETTLING_CHANNEL_FOUND" | "CNL_APPROVE_TRANSACTION_FAILED" | "CNL_OPENCHANNEL_FAILED" | "CNL_SETTOTALDEPOSIT_FAILED" | "CNL_CLOSECHANNEL_FAILED" | "CNL_SETTLE_INVALID_BALANCEHASH" | "CNL_SETTLE_FAILED" | "CNL_SETTLE_AUTO_ENABLED" | "CNL_UPDATE_NONCLOSING_BP_FAILED" | "CNL_ONCHAIN_UNLOCK_FAILED" | "CNL_WITHDRAW_PENDING" | "CNL_WITHDRAW_RETRY_CONFIRMATION" | "CNL_WITHDRAW_TRANSACTION_FAILED" | "CNL_WITHDRAW_EXPIRES_SOON" | "CNL_WITHDRAW_EXPIRED" | "CNL_WITHDRAW_AMOUNT_TOO_LOW" | "CNL_WITHDRAW_AMOUNT_TOO_HIGH" | "XFER_EXPIRED" | "XFER_CHANNEL_CLOSED_PREMATURELY" | "XFER_REFUNDED" | "XFER_INVALID_SECRETREQUEST" | "XFER_ALREADY_COMPLETED" | "XFER_REGISTERSECRET_TX_FAILED" | "TRNS_NO_MATRIX_SERVERS" | "TRNS_NO_VALID_USER" | "TRNS_NO_SERVERNAME" | "TRNS_MESSAGE_SIGNATURE_MISMATCH" | "RDN_GENERAL_ERROR" | "RDN_ASSERT_ERROR" | "RDN_MINT_FAILED" | "RDN_MINT_MAINNET" | "RDN_REGISTER_TOKEN_FAILED" | "RDN_REGISTER_TOKEN_MAINNET" | "RDN_REGISTER_TOKEN_REGISTERED" | "RDN_APPROVE_TRANSACTION_FAILED" | "RDN_DEPOSIT_TRANSACTION_FAILED" | "RDN_TRANSFER_ONCHAIN_BALANCE_FAILED" | "RDN_TRANSFER_ONCHAIN_TOKENS_FAILED" | "RDN_UNRECOGNIZED_NETWORK" | "RDN_SIGNER_NOT_CONNECTED" | "RDN_ACCOUNT_NOT_FOUND" | "RDN_STRING_ACCOUNT_INVALID" | "RDN_TRANSACTION_REORG" | "RDN_STATE_MIGRATION" | "RDN_SUBKEY_NOT_SET" | "RDN_INSUFFICIENT_BALANCE" | "RDN_INSUFFICIENT_ALLOWANCE" | "RDN_NOT_A_TOKEN" | "RDN_STATE_ADDRESS_MISMATCH" | "RDN_STATE_NETWORK_MISMATCH" | "RDN_ALREADY_STARTED" | "RDN_UNKNOWN_TOKEN_NETWORK" | "RDN_INVALID_SECRET" | "RDN_INVALID_SECRETHASH" | "RDN_SECRET_SECRETHASH_MISMATCH" | "RDN_UNKNOWN_TRANSFER" | "RDN_DATABASE_DELETED" | "DTA_NEGATIVE_NUMBER" | "DTA_NUMBER_TOO_LARGE" | "DTA_ARRAY_LENGTH_DIFFERENCE" | "DTA_UNENCODABLE_DATA" | "DTA_NON_POSITIVE_NUMBER" | "DTA_INVALID_ADDRESS" | "DTA_INVALID_DEPOSIT" | "DTA_INVALID_TIMEOUT" | "DTA_INVALID_AMOUNT" | "DTA_INVALID_PAYMENT_ID" | "DTA_INVALID_PATH" | "DTA_INVALID_PFS" | "UDC_DEPOSIT_OUTDATED" | "UDC_PLAN_WITHDRAW_FAILED" | "UDC_PLAN_WITHDRAW_GT_ZERO" | "UDC_PLAN_WITHDRAW_EXCEEDS_AVAILABLE" | "UDC_WITHDRAW_NO_BALANCE" | "UDC_WITHDRAW_FAILED" | "UDC_WITHDRAW_AUTO_ENABLED" | "UDC_WITHDRAW_NO_PLAN" | "UDC_WITHDRAW_TOO_LARGE"
  • Returns "PFS_EMPTY_URL" | "PFS_INVALID_URL" | "PFS_INVALID_INFO" | "PFS_TOO_EXPENSIVE" | "PFS_NO_ROUTES_FOUND" | "PFS_ERROR_RESPONSE" | "PFS_DISABLED" | "PFS_UNKNOWN_TOKEN_NETWORK" | "PFS_TARGET_OFFLINE" | "PFS_TARGET_NO_RECEIVE" | "PFS_LAST_IOU_REQUEST_FAILED" | "PFS_IOU_SIGNATURE_MISMATCH" | "PFS_NO_ROUTES_BETWEEN_NODES" | "CNL_INVALID_STATE" | "CNL_NO_OPEN_CHANNEL_FOUND" | "CNL_NO_OPEN_OR_CLOSING_CHANNEL_FOUND" | "CNL_NO_SETTLEABLE_OR_SETTLING_CHANNEL_FOUND" | "CNL_APPROVE_TRANSACTION_FAILED" | "CNL_OPENCHANNEL_FAILED" | "CNL_SETTOTALDEPOSIT_FAILED" | "CNL_CLOSECHANNEL_FAILED" | "CNL_SETTLE_INVALID_BALANCEHASH" | "CNL_SETTLE_FAILED" | "CNL_SETTLE_AUTO_ENABLED" | "CNL_UPDATE_NONCLOSING_BP_FAILED" | "CNL_ONCHAIN_UNLOCK_FAILED" | "CNL_WITHDRAW_PENDING" | "CNL_WITHDRAW_RETRY_CONFIRMATION" | "CNL_WITHDRAW_TRANSACTION_FAILED" | "CNL_WITHDRAW_EXPIRES_SOON" | "CNL_WITHDRAW_EXPIRED" | "CNL_WITHDRAW_AMOUNT_TOO_LOW" | "CNL_WITHDRAW_AMOUNT_TOO_HIGH" | "XFER_EXPIRED" | "XFER_CHANNEL_CLOSED_PREMATURELY" | "XFER_REFUNDED" | "XFER_INVALID_SECRETREQUEST" | "XFER_ALREADY_COMPLETED" | "XFER_REGISTERSECRET_TX_FAILED" | "TRNS_NO_MATRIX_SERVERS" | "TRNS_NO_VALID_USER" | "TRNS_NO_SERVERNAME" | "TRNS_MESSAGE_SIGNATURE_MISMATCH" | "RDN_GENERAL_ERROR" | "RDN_ASSERT_ERROR" | "RDN_MINT_FAILED" | "RDN_MINT_MAINNET" | "RDN_REGISTER_TOKEN_FAILED" | "RDN_REGISTER_TOKEN_MAINNET" | "RDN_REGISTER_TOKEN_REGISTERED" | "RDN_APPROVE_TRANSACTION_FAILED" | "RDN_DEPOSIT_TRANSACTION_FAILED" | "RDN_TRANSFER_ONCHAIN_BALANCE_FAILED" | "RDN_TRANSFER_ONCHAIN_TOKENS_FAILED" | "RDN_UNRECOGNIZED_NETWORK" | "RDN_SIGNER_NOT_CONNECTED" | "RDN_ACCOUNT_NOT_FOUND" | "RDN_STRING_ACCOUNT_INVALID" | "RDN_TRANSACTION_REORG" | "RDN_STATE_MIGRATION" | "RDN_SUBKEY_NOT_SET" | "RDN_INSUFFICIENT_BALANCE" | "RDN_INSUFFICIENT_ALLOWANCE" | "RDN_NOT_A_TOKEN" | "RDN_STATE_ADDRESS_MISMATCH" | "RDN_STATE_NETWORK_MISMATCH" | "RDN_ALREADY_STARTED" | "RDN_UNKNOWN_TOKEN_NETWORK" | "RDN_INVALID_SECRET" | "RDN_INVALID_SECRETHASH" | "RDN_SECRET_SECRETHASH_MISMATCH" | "RDN_UNKNOWN_TRANSFER" | "RDN_DATABASE_DELETED" | "DTA_NEGATIVE_NUMBER" | "DTA_NUMBER_TOO_LARGE" | "DTA_ARRAY_LENGTH_DIFFERENCE" | "DTA_UNENCODABLE_DATA" | "DTA_NON_POSITIVE_NUMBER" | "DTA_INVALID_ADDRESS" | "DTA_INVALID_DEPOSIT" | "DTA_INVALID_TIMEOUT" | "DTA_INVALID_AMOUNT" | "DTA_INVALID_PAYMENT_ID" | "DTA_INVALID_PATH" | "DTA_INVALID_PFS" | "UDC_DEPOSIT_OUTDATED" | "UDC_PLAN_WITHDRAW_FAILED" | "UDC_PLAN_WITHDRAW_GT_ZERO" | "UDC_PLAN_WITHDRAW_EXCEEDS_AVAILABLE" | "UDC_WITHDRAW_NO_BALANCE" | "UDC_WITHDRAW_FAILED" | "UDC_WITHDRAW_AUTO_ENABLED" | "UDC_WITHDRAW_NO_PLAN" | "UDC_WITHDRAW_TOO_LARGE"

Generated using TypeDoc