Skip to content

net: document the meaning of "Temporary" and "Timeout" #48268

@jmhodges

Description

@jmhodges

The docs for net have a lot of Temporary and Timeout error methods in them, but the package level docs don't contain a discussion of what those errors mean. The Temporary methods are mentioned in blog post about error handling but don't actually describe their meaning in detail.

And then for the errors types specifically, if an error type have both Temporary and Timeout, it'd be nice to document if both can be true at once and what that means semantically. (This originally cropped up when trying to explain if and when an error in a lower-level network protocol would or would not be counted against a rate limit in a higher-level one.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions