Skip to content

Conversation

@aout1145
Copy link

@aout1145 aout1145 commented Jul 27, 2025

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

These could be useful in rejecting promises created in C.
@aout1145 aout1145 changed the title Close #1129 resolves #1129 Jul 27, 2025
@aout1145 aout1145 changed the title resolves #1129 Resolves #1129 Jul 27, 2025
Copy link
Contributor

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The concept looks okay but I feel there's room to DRY the code and it needs tests. I've opened #1131.

@bnoordhuis
Copy link
Contributor

Closing, but thanks anyway for the pull request.

@bnoordhuis bnoordhuis closed this Jul 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants