Skip to content

Surprising (Incorrect?) Behavior with Result Errors returned by an HTTP Handler #4572

@StachuDotNet

Description

@StachuDotNet

if it's in the error rail, Ok is unwrapped (which is good) but the handler returns 404 not found on Error and ignores my handler output

If it's not in the error rail, Ok is unwrapped but Error is not. Most surprisingly, the handler returns 200 even on Error

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