Skip to main content

Module error

Module error 

Source
Expand description

Error types for the scrapling-fetch crate.

Every fallible operation in this crate returns Result<T>, which is an alias for std::result::Result<T, FetchError>. The FetchError enum covers the full range of things that can go wrong – from low-level network failures through to proxy misconfiguration and session lifecycle mistakes.

All variants implement the standard Error trait with proper source() chaining, so you can inspect the underlying cause when needed.

Enums§

FetchError
Errors that can occur during HTTP fetching operations.

Type Aliases§

Result
A convenience result type alias that pins the error type to FetchError.