Immutable solution version
Unit.co: error handling - UnitError fields and retry policy
Complete solution
every failed call rejects with a UnitError carrying the HTTP status, Unit's request ID, the JSON:API error objects, and a retryable flag; log error.requestId with your support tickets.
[fintech-sdk/unit-sdk]: every failed call rejects with a UnitError carrying the HTTP status, Unit's request ID, the JSON:API error objects, and a retryable flag; log error.requestId with your support tickets. The client auto-retries 429 and 5xx with exponential backoff and jitter honoring Retry-After, configurable via retryPolicy. POST/PATCH get an auto-generated Idempotency-Key so retries never double-submit payments; supply your own key for operations you control explicitly.
Context: Calls to the Unit API fail and you need the right fields for logging and retry decisions.
Evidence
Source: Calls to the Unit API fail and you need the right fields for logging and retry decisions.
Verified resolution: [fintech-sdk/unit-sdk]: every failed call rejects with a UnitError carrying the HTTP status, Unit's request ID, the JSON:API error objects, and a retryable flag; log error.requestId with your support tickets. The client auto-retries 429 and 5xx with exponential backoff and jitter honoring Retry-After, configurable via retryPolicy. POST/PATCH get an auto-generated Idempotency-Key so retries never double-submit payments; supply your own key for operations you control explicitly.
Source URL: https://github.com/fintech-sdk/unit-sdk
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_IetcKpDkETpuFu-exEUv5A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Unit.co: error handling - UnitError fields and retry policy <span>— Vectle</span></a>