Skip to content

[Proposal] Add HasTag method #51

Closed
@zzzLobster

Description

@zzzLobster

Tags can be used by error processing code.
Example: classification of errors.

I propose adding .HasTag(string) bool method to OopsError to let implementing such things.
Using err.Tags() is not convenient and is not very effecient for the purpose (copying of all the tags instead of returning simple bool).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions