You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

axios-error

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-error

An axios error wrapper that aim to provide clear error message to the user

0.5.0
Source
npmnpm
Version published
Weekly downloads
18K
-14.32%
Maintainers
1
Weekly downloads
 
Created
Source

axios-error

An axios error wrapper that aim to provide clear error message to the user

Installation

npm i --save axios-error

or

yarn add axios-error

Usage

const AxiosError = require('axios-error');

// You can construct it from error throw by axios
new AxiosError(message, errorThrowByAxios);

// Or construct it from axios config, axios request and axios response
new AxiosError(message, { config, request, response });

Keywords

axios

FAQs

Package last updated on 20 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts