Skip to content

[Feature][Framework] Enforce errors.Error interface usage throughout backend code #2907

@keon94

Description

@keon94

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

#2134 introduced a new error interface with an extended API. The existing function signatures however use the native golang error interface. Replace them all with errors.Error. This way the code becomes more self-documenting and forces developers to use the new error API.

Use case

Use errors.Error in the API signatures.

Related issues

#2134

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/feature-requestThis issue is a proposal for something new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions