@jrosadob/ms-custom
Version:
ms-custom
15 lines • 598 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InternalServerErrorException = void 0;
const common_1 = require("@nestjs/common");
class InternalServerErrorException extends common_1.HttpException {
constructor(message) {
super({
status: common_1.HttpStatus.INTERNAL_SERVER_ERROR,
error: 'Internal Server Error',
message,
}, common_1.HttpStatus.INTERNAL_SERVER_ERROR);
}
}
exports.InternalServerErrorException = InternalServerErrorException;
//# sourceMappingURL=internal-server-error.exception.js.map