View as Markdown

API reference: @salmonui/data/json

isRetryableErrorfunction

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

Also exported from @salmonui/data.

function isRetryableError(error: unknown): boolean;

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