axios-error-helper

1.0.2 • Public • Published

axios-error-helper

Reduct axios error output into a better debugging experience.

Installation

npm i axios-error-helper

Usage

const axios = require('axios');
const axiosErrorHelper = require('axios-error-helper');

axios.get("https://httpstat.us/400").catch(axiosErrorHelper);

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i axios-error-helper

      Weekly Downloads

      0

      Version

      1.0.2

      License

      ISC

      Unpacked Size

      2.28 kB

      Total Files

      4

      Last publish

      Collaborators

      • cojad