Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JS_ThrowPlainError #411

Merged
merged 1 commit into from
May 27, 2024
Merged

Add JS_ThrowPlainError #411

merged 1 commit into from
May 27, 2024

Conversation

saghul
Copy link
Contributor

@saghul saghul commented May 21, 2024

It's a helper for doing the following steps:

  • Building an Error object
  • Attaching a formatted message
  • Throwing the object

Fixes: #375

quickjs.c Outdated Show resolved Hide resolved
It's a helper for doing the following steps:

- Building an Error object
- Attaching a formatted message
- Throwing the object

Fixes: #375
@saghul saghul force-pushed the throw-plain-error branch from fd84161 to 4005ad6 Compare May 27, 2024 07:41
@saghul
Copy link
Contributor Author

saghul commented May 27, 2024

Updated!

@saghul saghul merged commit bb4878d into master May 27, 2024
47 checks passed
@saghul saghul deleted the throw-plain-error branch May 27, 2024 08:11
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.

[Feature Request] Add JS_ThrowError() convenience function
2 participants