binance
Version:
Professional Node.js & JavaScript SDK for Binance REST APIs & WebSockets, with TypeScript & end-to-end tests.
12 lines (11 loc) • 371 B
TypeScript
export declare const WS_ERROR_CODE: {
/**
* { code: -1125, msg: 'This listenKey does not exist.' },
*/
readonly LISTEN_KEY_NOT_FOUND: -1125;
/**
* {"code":-2015,"msg":"Invalid API-key, IP, or permissions for action."}
*/
readonly INVALID_API_KEY_OR_IP_OR_PERMISSIONS: -2015;
};
export declare function isFatalWSError(e: any): boolean;