PetterS / quickjs

Thin Python wrapper of https://bellard.org/quickjs/
https://github.com/bellard/QuickJS
MIT License
177 stars 19 forks source link

add_callable error type #87

Open qwenger opened 2 years ago

qwenger commented 2 years ago

When JS_SetPropertyStr in add_callable returns -1, should raise the exception with quickjs_exception_to_python rather than raising a generic error. This is potentially a breaking change.