Skip to content

Content-type aware errorsΒ #353

@jkarni

Description

@jkarni

Combinators should return ServantErrs that match the Accept header when possible. I'd think we can make a datatype for the error, and have the Config contain functions from the datatype and content-type to ServantErr, so e.g. HTML 404 pages are customizable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions