mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
a501f100a7
Adds `AxiosError.ECONNREFUSED` as a typed constant alongside existing error codes like ECONNABORTED and ETIMEDOUT, enabling type-safe error code checks without hardcoding strings. Closes #6485 Co-authored-by: marcosnocetti <marcos.nocetti@ubots.com.br> Co-authored-by: Jay <jasonsaayman@gmail.com>
axios // core
The modules found in core/ should be modules that are specific to the domain logic of axios. These modules would most likely not make sense to be consumed outside of the axios module, as their logic is too specific. Some examples of core modules are:
- Dispatching requests
- Requests sent via
adapters/(see lib/adapters/README.md)
- Requests sent via
- Managing interceptors
- Handling config