UNPKG

@brewww/authentication-service

Version:
16 lines 606 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UndefinedServiceError = void 0; const dto_1 = require("../dto"); const config_1 = require("../config"); class UndefinedServiceError extends dto_1.ExtendedError { constructor(service, serviceType) { super(); this.message = `${serviceType} service is not defined for ${service}.`; this.extensions = { code: (0, config_1.appConfig)().errorCodePrefix + "007", }; } } exports.UndefinedServiceError = UndefinedServiceError; //# sourceMappingURL=undefined-service.error.js.map