---
url: https://haihv.github.io/valifetch/api/error.md
---

# valifetch/error

Standalone error export — import `ValifetchError` and related types without
pulling in the full valifetch client.

## Example

```ts
import { ValifetchError } from 'valifetch/error';
```

## References

### ErrorCode

Re-exports [ErrorCode](../index/type-aliases/ErrorCode.md)

***

### ValidationErrorInfo

Re-exports [ValidationErrorInfo](../index/type-aliases/ValidationErrorInfo.md)

***

### ValidationTarget

Re-exports [ValidationTarget](../index/type-aliases/ValidationTarget.md)

***

### ValifetchError

Re-exports [ValifetchError](../index/classes/ValifetchError.md)

***

### ValifetchErrorOptions

Re-exports [ValifetchErrorOptions](../index/type-aliases/ValifetchErrorOptions.md)
