Skip to content

Document error handling #639

Open
Open
@dgr

Description

Problem/Opportunity
Today, most Etaoin API functions document what happens upon success, but they are largely silent about their behavior in error conditions. Do they return nil, another special value, or throw an exception? If they throw an exception, which ones? How do they distinguish between HTTP or TCP/IP exceptions that might happen while interacting with the WebDriver versus WebDriver errors? Are the behaviors for the various supported browsers consistent (is the same response returned or exception thrown for the same condition) or inconsistent?

Proposed Solution
Document the current behavior for error conditions. Where possible, understand differences between different WebDriver implementations.

Action
I can take a first level run at documenting the current behavior. This will probably generate a stream of PRs for doc string and User Guide updates.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions