Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Adding napi_create_syntax_error #1099

Copy link
Copy link
@idan-at

Description

@idan-at
Issue body actions

Hi,

Some of the known js tooling (webpack and babel for example) are re-written in other languages (esbuild in go, swc and parcel in rust)

Because of that, throwing a syntax error from napi makes sense.
unfortunately, the API does not exist at this moment (although other native errors can be thrown, like type error and range error)

what do you think about adding it?

If it’s accepted, I’d be happy to contribute (if you can point me)

Thanks!

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.