Skip to content

Complete for Exn.Error/JsError when switching on exn #725

@zth

Description

@zth

When switching on something of type exn, it might be nice to automatically add Exn.Error(error) and/or JsError(_) to the completion, with a descriptive text. It's a bit hard to discover how to handle JS errors otherwise.

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