sidelab-http-exceptions
v1.0.14
Published
A package to store exceptions errors (classes) of xeguei app that are used in multiple micro-services
Downloads
23
Readme
Description
A package to store exceptions errors (classes) of xeguei app that are used in multiple micro-services
Install
Follow these steps on Microsoft official documentation of how to download private npm packages.
Then, run the command below in the project folder.
$ yarn add sidelab-http-exceptions
Usage
import { BadRequestException } from 'sidelab-http-exceptions';
throw new BadRequestException({ code: '001', message: 'Bad request' });
Contribute
Clone this repository
Make your changes
Open a Pull Request