Error handling
The SDK translates each HTTP error code into a nested subclass ofMarkpdfException (RuntimeException).
Exceptions table
Todas extienden
MarkpdfException y exponen:
Automatic retries
The internalHttpClient automatically 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
With CompletableFuture
Exceptions thrown by async methods are wrapped in CompletionException; unwrap with getCause():
