Skip to main content
All errors extend the base ReaderError class and carry a typed code, a retryable flag, and a toJSON() method for structured logging.

Base class

Every error in the table below extends ReaderError.

Error reference

Importing specific error classes

Serialized error format

Every ReaderError instance has a toJSON() method for structured logging:
Use it to ship errors to Datadog, Sentry, or whatever observability stack you’re running:

Retry pattern using the flag

Where to go next

Error Handling concept

Retry budgets and how errors propagate through the pipeline.