انتقل إلى المحتوى الرئيسي

Function: retryableByDefault()

retryableByDefault(category): boolean

Defined in: packages/contracts/src/reply.ts:87

Whether repeating an identical request can succeed, by category. conflict is retryable because the caller re-reads and retries once; the rest follow the taxonomy table above.

Parameters​

category​

"validation" | "authorization" | "state" | "conflict" | "upstream" | "internal"

The error category.

Returns​

boolean

The default for retryable.