Skip to content

feature: http::HttpServer::handle_request() handler closures should return Result<>s #109

@nick1udwig

Description

@nick1udwig

Is your feature request related to a problem? Please describe.
Currently, the handler closures cannot error out: they must crash on an error.

Describe the solution you'd like
It would be nice if there were a way to propagate errors up and out of the closured, e.g. if the closures returned a Result<()> and then the handle_request() function also returned a Result<()>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions