UNPKG

@brewww/authentication-service

Version:
16 lines 562 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UserAlreadyExistsError = void 0; const dto_1 = require("../dto"); const config_1 = require("../config"); class UserAlreadyExistsError extends dto_1.ExtendedError { constructor() { super(); this.message = "User is already exists."; this.extensions = { code: (0, config_1.appConfig)().errorCodePrefix + "008", }; } } exports.UserAlreadyExistsError = UserAlreadyExistsError; //# sourceMappingURL=user-already-exists.error.js.map