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);

Readme

Keywords

Package Sidebar

Install

npm i axios-error-helper

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

2.28 kB

Total Files

4

Last publish

Collaborators

  • cojad