@rtorcato/supabase-common / isRetryable
Function: isRetryable()
isRetryable(
err):boolean
Defined in: errors.ts:93
A transient failure worth retrying: serialization failure, deadlock, or a
PostgREST connection / schema-cache / pool error (PGRST000–PGRST003, the
503-class errors the Supabase client's own GET/HEAD retry targets). Network
failures carry no code, so they are not detected here.
Wrap the retry loop yourself, or use withRetry.
Parameters
err
unknown
Returns
boolean