An open API service indexing awesome lists of open source software.

https://github.com/seamapi/axios-error-monkeypatch


https://github.com/seamapi/axios-error-monkeypatch

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

        

# axios-error-monkeypatch

Simplifies Axios errors, great for test environments where you axios errors are taking hundreds of lines.

## Before

![](https://user-images.githubusercontent.com/1910070/180016819-07e6b12c-0e2c-49c9-80ca-ba741b79caf8.png)

## After

![](https://user-images.githubusercontent.com/1910070/180016609-6693509d-269f-4b64-ad8b-3e81b28f3e2e.png)

## Installation

`yarn add --dev axios-error-monkeypatch`

## Usage

```ts
import axiosErrorMonkeypatch from "axios-error-monkeypatch"

axiosErrorMonkeyPatch()
```