@brewww/authentication-service
Version:
Authenticator service for Brew projects.
16 lines • 562 B
JavaScript
;
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