Skip to content

Bypassing the HttpError serialization #4

@cvbarros

Description

@cvbarros

I think the HtmlMediaTypeViewformatter should not try to serialize the HttpError type and leave it to other formatters (maybe the default ones) to deal with this.

Another option would be to provide an 'out-of-the-box' view for HttpError, which would display nicely the errors in the same fashion the MVC projects.

This is to avoid creating a boilerplate HttpError view for every project suing the html formatter. I can work on this, but I'd like to hear your input first before getting started.

Thanks!

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