@microfleet/core
Version:
Abstract microservice core
10 lines • 703 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.REDIS_TYPE_SENTINEL = exports.REDIS_TYPE_CLUSTER = exports.ERROR_ALREADY_STARTED = exports.ERROR_NOT_HEALTHY = exports.ERROR_NOT_STARTED = void 0;
const common_errors_1 = require("common-errors");
exports.ERROR_NOT_STARTED = new common_errors_1.NotPermittedError('redis was not started');
exports.ERROR_NOT_HEALTHY = new common_errors_1.ConnectionError('redis connection is not healthy');
exports.ERROR_ALREADY_STARTED = new common_errors_1.NotPermittedError('redis was already started');
exports.REDIS_TYPE_CLUSTER = 'redisCluster';
exports.REDIS_TYPE_SENTINEL = 'redisSentinel';
//# sourceMappingURL=constants.js.map
;