Skip to content

Add more APIs for creating errors #1129

@aout1145

Description

@aout1145

Including JS_NewPlainError, JS_NewSyntaxError, JS_NewTypeError, JS_NewReferenceError, JS_NewRangeError, JS_NewInternalError.

These will be useful in rejecting promises created in C.

I will open a pull request about it.

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