@dannybster/coco-the-bear-http-errors

0.0.5 • Public • Published

coco-the-bear-http-errors

A collection of error objects that represent http response objects for CoCo The Bear.

Version 0.0.5

  • Fixed a bug where the error handler did not pass non http errors to next so any non http error was causing a 404 in an express based app.

Version 0.0.4

  • Service unavailable errors can now contain a cause.

Version 0.0.3

  • Added error-handler.js to index.js.

Version 0.0.2

  • Added index.js to export each module as I forget in the v0.0.1 release.

Version 0.0.1

  • Added error object for 401 Unauthorized.
  • Added error object for 404 Not Found.
  • Added error object for 503 Service Unavailable,
  • Refactored creation of errors.

/@dannybster/coco-the-bear-http-errors/

    Package Sidebar

    Install

    npm i @dannybster/coco-the-bear-http-errors

    Weekly Downloads

    1

    Version

    0.0.5

    License

    ISC

    Last publish

    Collaborators

    • dannybster