UNPKG

@brewww/authentication-service

Version:
16 lines 563 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InvalidCredentialsError = void 0; const dto_1 = require("../dto"); const config_1 = require("../config"); class InvalidCredentialsError extends dto_1.ExtendedError { constructor() { super(); this.message = "Invalid credentials."; this.extensions = { code: (0, config_1.appConfig)().errorCodePrefix + "003", }; } } exports.InvalidCredentialsError = InvalidCredentialsError; //# sourceMappingURL=invalid-credentials.error.js.map