This package has been deprecated

    Author message:

    This package has been deprecated and is no longer supported or maintained

    @4alltecnologia/http-errors

    1.1.0 • Public • Published

    @4alltecnologia/http-errors


    CircleCI latest semver version open issues badge open pull requests badge

    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' }

    Keywords

    none

    Install

    npm i @4alltecnologia/http-errors

    DownloadsWeekly Downloads

    488

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    35.5 kB

    Total Files

    25

    Last publish

    Collaborators

    • henrique502