what is the replacement of JS_SetErrorReporter in spidermonkey 60

msami <[email protected]> Wed, 10 Apr 2019 12:36:45 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
I want to report errors from js engine to c++ code side.