# isRetryableError (@salmonui/data/json)

> The isRetryableError function of @salmonui/data/json: Default retry predicate: network failures, 408, 429, and 5xx. Never aborts, 4xx, or protocol errors.

Canonical: https://salmonui.dev/docs/reference/data/json/isRetryableError

```ts
import { isRetryableError } from '@salmonui/data/json';
```

Also exported from `@salmonui/data`.

Entry index: https://salmonui.dev/docs/reference/data/json (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data/json.md).

## Reference

Kind: function

```ts
function isRetryableError(error: unknown): boolean;
```

Default retry predicate: network failures, 408, 429, and 5xx. Never aborts, 4xx, or protocol errors.
