1.1.0 • Published 6 years ago

@4alltecnologia/http-errors v1.1.0

Weekly downloads
54
License
ISC
Repository
github
Last release
6 years ago

@4alltecnologia/http-errors


CircleCI

Description

An error module to standarize error usage inside a project

Installation

This is a Node.js module availale through npm.

Before installing, download and install Node.js. Node.js 8 or higher is required.

Installation is done by using the npm install command.

npm install @4alltecnologia/http-erros

Usage

const http_errors = require('@4alltecnologia/http-errors');

const error = new http_errors.BadRequest('Some error message');

console.log(error) // { message: 'Some error message', code: 'BAD_REQUEST' }
1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago