This package has been deprecated

Author message:

Package has been integrated in @axah/http-utils and is no longer supported.

@axah/http-error-response-handler
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@axah/http-error-response-handler

Module for handling HTTP errors and categorize them as recoverable or unrecoverable errors. Used for microservices at AXA Healthcare switzerland.

Installing a release

Install @axah/http-error-response-handler using the following command:

yarn add @axah/http-error-response-handler

Installing a PR build

When a PR is still open and you want to give it a try you can use a build created by Pika CI. Head to the Checks tab of your PR and select the Pika CI action where you find instructions on how to install the package built out of this PR.

Creating a release

Create a release on github and name the tag in the format vMAJOR.MINOR.PATCH and the github action in .github/workflows/publish.yml will take care of publishing the package to npm.

Note: As this technique currently updates the npm dist-tag latest to whatever release you create you should either not use this technique to cut a prerelease (i.e. using pattern vMAJOR.MINOR.PATCH-PRERELEASE.NUMBER) or a patch/minor version of an old major/minor OR fix the npm dist-tag afterwards using npm dist-tag @axah/docker-healthcheck@<latest version> latest

Dependencies (4)

Dev Dependencies (17)

Package Sidebar

Install

npm i @axah/http-error-response-handler

Weekly Downloads

2

Version

1.1.0

License

UNLICENSED

Unpacked Size

15.3 kB

Total Files

22

Last publish

Collaborators

  • sandrozbinden-axa
  • putnockyt
  • pascaltan
  • thedadi
  • dan-m
  • tico86
  • brukri
  • healthbot
  • andibolleteraxa
  • david_s
  • valentinhasler