Error handling
The package translates each HTTP error code into a subclass ofMarkpdfException.
Exceptions table
Todas extienden
MarkpdfException y exponen:
Automatic retries
429and5xx: retries with exponential backoff and jitter. HonorRetry-Afterif the server sends it.4xxdifferent from429: not retried.- Network/timeout errors: retried same as
5xx.
Job falvavalid
Show errors in the UI
Common pattern for translating exceptions from SDK to friendly messages onWidget:
