UNPKG

trapx

Version:

A plug-and-play middleware for standardized error handling in TypeScript-based Express.js applications

16 lines (15 loc) 1.37 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InternalServerError = exports.ForbiddenError = exports.UnauthorizedError = exports.NotFoundError = exports.ValidationError = exports.BaseError = void 0; var BaseError_1 = require("./BaseError"); Object.defineProperty(exports, "BaseError", { enumerable: true, get: function () { return BaseError_1.BaseError; } }); var ValidationError_1 = require("./ValidationError"); Object.defineProperty(exports, "ValidationError", { enumerable: true, get: function () { return ValidationError_1.ValidationError; } }); var NotFoundError_1 = require("./NotFoundError"); Object.defineProperty(exports, "NotFoundError", { enumerable: true, get: function () { return NotFoundError_1.NotFoundError; } }); var UnauthorizedError_1 = require("./UnauthorizedError"); Object.defineProperty(exports, "UnauthorizedError", { enumerable: true, get: function () { return UnauthorizedError_1.UnauthorizedError; } }); var ForbiddenError_1 = require("./ForbiddenError"); Object.defineProperty(exports, "ForbiddenError", { enumerable: true, get: function () { return ForbiddenError_1.ForbiddenError; } }); var InternalServerError_1 = require("./InternalServerError"); Object.defineProperty(exports, "InternalServerError", { enumerable: true, get: function () { return InternalServerError_1.InternalServerError; } });