Skip to content

Use Go 1.20+ Error Wrapping #519

@conallob

Description

@conallob

Follow on from #358

https://go.dev/doc/go1.20#errors introduces the ability to wrap multiple errors using multiple %w atoms in fmt.Errorf()

Once Go v1.20 is the default version, fmt.Errorf() entries should be updated to use multiple %w atoms. Thanks to #358 , this should be replacing %s for %w

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