hyper-fetch
hyper-fetch copied to clipboard
`retryOnError` feature
Discussed in https://github.com/BetterTyped/hyper-fetch/discussions/105
Originally posted by Foprta May 29, 2025
It would be great to have a callback retryOnError: (error: Error) => boolean which can be used to enable/disable retry based on condition. For example, have a status code 404.