quickjs
quickjs copied to clipboard
Add a version of `JS_SetPropertyFunctionList()` that handles errors.
Current status:
- Error handling in QuickJS is inconsistent across the codebase
- Some areas implement error checks, while others do not
This patch:
- Enhances error checking in JS_SetPropertyFunctionList()
- Aims to make QuickJS more reliable for long-running processes where uncaught errors can cause significant issues
Next steps:
- This is the first in a series of planned improvements
- Future patches will address other areas, including JS_AddIntrinsicBaseObjects() and related functions
Feedback is needed before proceeding with additional patches.