-
Hi,
I would like to throw some custom errors on some specific http response codes (eg: 422 here), but I also need to throw a more generic error for all other status codes. So I tried something like t…
-
For some reason when i run any tests I'm unable to resolve anything from the addons dir? any ideas?
-
Hello. First, thanks for creating this package. Awesome job!
I was creating a service to perform a request and based on the success status, do something else.
Here is a pseudo code that simulates …
-
hi all
before I upgrade the package to v2.1.1
these pieces of code work fine
previous version is `"wretch": "^1.7.10"`
```js
const CLIENT_BASE_URL = `${process.env.REACT_APP_BACKEND_BASE_URL}/a…
-
This PR seems close to completion for adding a Fetch Adapter. https://github.com/axios/axios/pull/5146
Will there be any need/use-case for Redaxios then? It seems like it would still be lighter-wei…
-
Thanks for this incredibly useful library.
After the retry middleware eventually exceeds `maxAttempts`, the intended error helper method is never called.
```typescript
import wretch from "wretc…
-
aria-pressed states:
"A value of mixed means that the values of more than one item controlled by the button do not all share the same value. Examples of mixed-state buttons are described in the WAI-A…
-
**Describe the bug**
In hardware accelerated rendering, semi-transparent GUIs are being rendered incorrectly because controls are being blended with the underlying GUI graphics.
**AGS Version**
A…
-
Hi !
Today when having a request error, an `error` object can be reached.
cf. https://github.com/elbywan/wretch/blob/c624b20c194d039ad64a842d7033853380377d4f/src/resolver.ts#L74
But if the requ…
-
Wretch v2 doesn't have a `replay` function anymore. So how to know if the request is a `POST` or `GET` Request before calling it again
```
wretch("/resource")
.get()
.unauthorized(async (erro…