Exception: Pikuri::Tool::Scraper::FetchError
- Inherits:
-
StandardError
- Object
- StandardError
- Pikuri::Tool::Scraper::FetchError
- Defined in:
- lib/pikuri/tool/scraper/fetch_error.rb
Overview
Raised by anything in the scraper stack when a URL cannot be rendered into Markdown text — HTTP non-2xx, network failure, redirect-loop, missing Location, unsupported content-type, or a parse failure that reads as “try a different URL” to the LLM. Catching this in WEB_SCRAPE / FETCH turns the failure into an “Error: …” observation; anything else bubbles up so genuine bugs stay visible.