JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q49366F
  • License MIT

Classes for working with errors

Package Exports

  • @floteam/errors
  • @floteam/errors/http/http-bad-gateway-error
  • @floteam/errors/http/http-bad-request-error
  • @floteam/errors/http/http-conflict-error
  • @floteam/errors/http/http-error
  • @floteam/errors/http/http-forbidden-error
  • @floteam/errors/http/http-gateway-timeout-error
  • @floteam/errors/http/http-internal-server-error
  • @floteam/errors/http/http-not-found-error
  • @floteam/errors/http/http-service-unavailable-error
  • @floteam/errors/http/http-too-many-requests-error
  • @floteam/errors/http/http-unauthorized-error
  • @floteam/errors/http/http-unprocessable-entity-error
  • @floteam/errors/http/index
  • @floteam/errors/index
  • @floteam/errors/runtime/already-exists-error
  • @floteam/errors/runtime/index
  • @floteam/errors/runtime/input-validation-error
  • @floteam/errors/runtime/runtime-error
  • @floteam/errors/util

Readme

Classes for working with errors

HttpError and RuntimeError are base classes. You can create new errors by extending them or create a new base class.

This package is publishing automatically after commit to master branch.

If you want to extend it, create a new branch and PR to master.

Run prepare-husky after the first npm i

If use prepare script, it runs on npm pack and fails because npm pack is in dist dir