Skip to main content

Error handling

The client translates each HTTP error code into a subclass of MarkpdfError:

Error table

Todas exponen:

Capture specific errors

Reintentos

@markpdf/react-native does not implement automatic retries — unlike Node.js’s SDK, there is no maxRetries in the constructor. Implement your own backoff if you need it, especially relevant on mobile where the network is intermittent:
Errors without MarkpdfError (network drop, AbortError) are also candidates for retry — they are common on mobile when switching from WiFi to mobile data mid-upload.

Job falvavalid