UNPKG

http-errors-plus

Version:

Next-gen HTTP error handling for modern JavaScript and TypeScript apps — structured, overrideable, and developer-focused.

5 lines (4 loc) 225 B
import { HttpError } from "./utils/http-error.js"; import { generateError } from "./utils/generateError.js"; import { BASE_HTTP_ERRORS } from "./src/constants/index.js"; export { HttpError, generateError, BASE_HTTP_ERRORS };