Skip to content

cmd/errtrace: Built-in list of exclusions #60

@abhinav

Description

@abhinav

From:

          maybe a feature request for future, should we have a set of default opt-outs inbuilt, like don't wrap `io.EOF` when being returned from `Read`? (It's not perfect, but seems like it's never correct to wrap an EOF error from `Read`)

Originally posted by @prashantv in #57 (comment)


We should consider a built-in list of ignores.
These will be pretty simplistic since we don't use type information (yet).
We already have an exclusion for Unwrap() error methods.

This issue is to track both, the feature and what should be in the exclusions initially:

  • io.EOF returned from a Read() (int, error) method

Metadata

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