---
url: https://haihv.github.io/valifetch/api/index/type-aliases/ErrorCode.md
---

# Type Alias: ErrorCode

> **ErrorCode** = `"NETWORK_ERROR"` | `"TIMEOUT_ERROR"` | `"VALIDATION_ERROR"` | `"HTTP_ERROR"` | `"ABORT_ERROR"` | `"PARSE_ERROR"`

Defined in: [src/types/options.ts:120](https://github.com/haihv/valifetch/blob/285835d38a6676b98d2ee1a93e23166c6c834cb2/src/types/options.ts#L120)

Error codes for ValifetchError
