Skip to content

CompileWarning extends Error #13628

@Rich-Harris

Description

@Rich-Harris

Describe the bug

CompileWarning extends Error and I see no reason why it should — it should just be a POJO (maybe with a convenience toString() method). Found this while trying to postMessage a warning from a worker and finding the message got stripped out

Reproduction

later

Logs

No response

System Info

next

Severity

annoyance

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