@nestjs/common
Version:
Nest - modern, fast, powerful node.js web framework (@common)
27 lines (26 loc) • 1.72 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpErrorByCode = void 0;
const enums_1 = require("../enums");
const exceptions_1 = require("../exceptions");
exports.HttpErrorByCode = {
[ ]: exceptions_1.BadGatewayException,
[ ]: exceptions_1.BadRequestException,
[ ]: exceptions_1.ConflictException,
[ ]: exceptions_1.ForbiddenException,
[ ]: exceptions_1.GatewayTimeoutException,
[ ]: exceptions_1.GoneException,
[ ]: exceptions_1.ImATeapotException,
[ ]: exceptions_1.InternalServerErrorException,
[ ]: exceptions_1.MethodNotAllowedException,
[ ]: exceptions_1.NotAcceptableException,
[ ]: exceptions_1.NotFoundException,
[ ]: exceptions_1.NotImplementedException,
[ ]: exceptions_1.PayloadTooLargeException,
[ ]: exceptions_1.PreconditionFailedException,
[ ]: exceptions_1.RequestTimeoutException,
[ ]: exceptions_1.ServiceUnavailableException,
[ ]: exceptions_1.UnauthorizedException,
[ ]: exceptions_1.UnprocessableEntityException,
[ ]: exceptions_1.UnsupportedMediaTypeException,
};