Skip to main content
Ragrails uses two error shapes. Stage methods usually return per-item failures in the result’s errors list. REST requests that fail before a stage can run return an exception envelope.

Stage Error Dict

Pipeline stages do not raise for every item-level failure. They collect failures in errors and continue when possible.

REST Exception Envelope

If a REST request fails before the stage returns a result, the server returns an exception envelope.

Common Setup Errors

Retrying Scrape/API Failures

URL and API failures can include isRetryable: true and a retry_input payload. URL scrape failures with isRetryable: true are captured in a dead-letter queue and can be retried by passing result.dlq or a saved file path back to scrape().