UNPKG

@nxtoai/gati

Version:

A flexible Aerospike service for NestJS applications

134 lines (133 loc) 2.71 kB
export declare const ERROR_MESSAGES: { REDIS_CONNECTION_FAILED: { code: string; message: string; type: string; }; REDIS_DISCONNECT_FAILED: { code: string; message: string; type: string; }; INVALID_KEY: { code: string; message: string; type: string; }; INVALID_VALUE: { code: string; message: string; type: string; }; UNKNOWN_ERROR: { code: string; message: string; type: string; }; KEY_EMPTY: { code: string; message: string; type: string; }; KEY_NOT_STRING: { code: string; message: string; type: string; }; KEY_TOO_LONG: { code: string; message: string; type: string; }; BINS_EMPTY: { code: string; message: string; type: string; }; BINS_NOT_OBJECT: { code: string; message: string; type: string; }; BINS_NO_KEYS: { code: string; message: string; type: string; }; BIN_KEY_EMPTY: { code: string; message: string; type: string; }; BIN_KEY_NOT_STRING: { code: string; message: string; type: string; }; BIN_KEY_TOO_LONG: { code: string; message: string; type: string; }; BIN_VALUE_UNDEFINED: { code: string; message: string; type: string; }; BIN_VALUE_MAP_SET: { code: string; message: string; type: string; }; BIN_VALUE_UNSUPPORTED_TYPE: { code: string; message: string; type: string; }; ARRAY_TOO_LARGE: { code: string; message: string; type: string; }; TTL_NOT_NUMBER: { code: string; message: string; type: string; }; TTL_NEGATIVE: { code: string; message: string; type: string; }; TTL_TOO_LARGE: { code: string; message: string; type: string; }; SCAN_OPTIONS_NOT_OBJECT: { code: string; message: string; type: string; }; SCAN_LIMIT_NOT_NUMBER: { code: string; message: string; type: string; }; SCAN_LIMIT_NEGATIVE: { code: string; message: string; type: string; }; SCAN_TIMEOUT_NOT_NUMBER: { code: string; message: string; type: string; }; SCAN_TIMEOUT_NEGATIVE: { code: string; message: string; type: string; }; }; export type ErrorMessageKey = keyof typeof ERROR_MESSAGES;