Skip to content

Adding napi_create_syntax_error #1099

Description

@idan-at

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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