We have reproduced the following:
1. V8ScriptEngine collects error details only when the thrown object is an Error instance.
2. V8ScriptEngine does not collect error details for syntax errors.
1. V8ScriptEngine collects error details only when the thrown object is an Error instance.
2. V8ScriptEngine does not collect error details for syntax errors.