Skip to content

Improve error message when trying to use top-level await #2359

@FrederikBolding

Description

@FrederikBolding

Top-level await is not supported in Snaps and following #2358 we throw an error when users try to use it. We should clean up this error and explain that this is intentionally disabled for Snaps due to not being supported

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