Skip to content

Use Exceptions for Plug Errors #26

@maennchen

Description

@maennchen

Description

Instead of using callbacks to manipulate the response, plugs should raise exceptions for authentication errors.

The user can then implement custom error views to adapt the responses.

Additionally: Add some details of internal errors like unsuccessful internal HTTP requests to the existing errors messages. It should however not include the whole reason since that can contain confidential information like client secrets.

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