UNPKG

xud

Version:
28 lines (27 loc) 690 B
import { ClientStatus } from '../swaps/SwapClient'; declare const errorCodes: { DISABLED: string; UNAVAILABLE: string; NO_ACTIVE_CHANNELS: string; NO_HOLD_INVOICE_SUPPORT: string; }; declare const errors: { DISABLED: (currency: string) => { message: string; code: string; }; UNAVAILABLE: (currency: string, status: ClientStatus) => { message: string; code: string; }; NO_ACTIVE_CHANNELS: (currency: string) => { message: string; code: string; }; NO_HOLD_INVOICE_SUPPORT: (currency: string) => { message: string; code: string; }; }; export { errorCodes }; export default errors;