Skip to main content

Type Alias: RetryClass

type RetryClass = "retry" | "auth" | "revoked" | "rejected" | "conflict" | "integrity";

Defined in: classify.ts:24

  • retry — network, 408/425/429, 5xx. Back off and try the same bytes again.
  • auth — 401/403. Pause; only the host can fix it.
  • revoked — 403 device_revoked. Stop the network for good; keep the data.
  • rejected — 4xx validation. The item can never be sent as-is.
  • conflict — 409. The server holds a different payload under this id.
  • integrity — 412. Recompute the checksum once, then dead-letter.