Skip to content

Add error handling documentation in README #584

@ErikPelli

Description

@ErikPelli

Currently, when there is an erorr, a custom Error field in ctx is set, before calling the response handler.
Show an example where the error can be handled by the response handler, returning a custom response with custom data.
This prevents proposal like a custom error handler made by who doesn't know about this feature.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions