Expand description
Error types for the scrapling-browser crate.
Every fallible operation in this crate returns Result<T>, which is an alias for
std::result::Result<T, BrowserError>. The BrowserError enum covers the major
failure categories you can encounter during browser automation: Playwright driver
errors, navigation failures, timeouts, page-pool capacity issues, configuration
mistakes, and a catch-all Other variant.
Playwright driver errors are automatically converted via the From<playwright_rs::Error>
implementation, so the ? operator works seamlessly in async code that calls into
the underlying Playwright bindings.
Enums§
- Browser
Error - Errors that can occur during browser automation operations.
Type Aliases§
- Result
- Convenience alias used throughout the crate so that functions can return
Result<T>without specifying the error type every time. Import this alias alongsideBrowserErrorwhen writing code that calls intoscrapling-browser.