Skip to content

Let app.onError handle non-Error instance #667

@universse

Description

@universse

Currently, if any route throws a non-Error instance, app.onError won't be invoked. Users need to handle those separately for each route. It would be nice if that can be handled by app.onError.

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