Skip to content

Middleware errors are hard to use #16

Closed
@ctian1

Description

@ctian1

Right now middleware handle function is expected to return twirp::ClientError which makes it hard to return any special middleware errors. Maybe there can be another option in the enum such as ClientError::Middleware(String)?

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