use Error;
/// All errors surfaced by the scraper. Variants are derived from the
/// underlying cause (`reqwest`, `std::io`, `url::ParseError`) where
/// possible, with stringly-typed fallbacks for sitemap / XML parse failures
/// that don't have a natural typed source.
/// Crate-wide `Result` alias. All fallible APIs in `doc-scraper-rs` return
/// `Result<T, ScraperError>` so callers don't have to spell out the error
/// type at every call site.
pub type Result<T> = Result;