Skip to content

Implement http.Handler interface #1

@Alma-media

Description

@Alma-media

Errors should implement http.Handler interface which allows using them with routes, for example:

router.Get("/", errors.NewUnauthorized(err))

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