Re: Error reporting changes

Jan de Mooij <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jseng.internals,gmane.comp.mozilla.devel.jseng
Message-ID <CABTC+JfSQoP6nZ3My6XxhrShUF3=0OE2vX8=na+7oXsOO9rHag@mail.gmail.com>
On Thu, Jun 2, 2016 at 9:43 PM, Ehsan Akhgari <[email protected]>
wrote:

> Is the plan to provide that RAII class in the public API, out of curiosity?
>

I don't know, each embedder probably wants to handle exceptions
differently. Maybe we could add a default implementation that reports to
stderr, or a class with a virtual method that takes a js::ErrorReport& etc
so you don't have to do that part yourself...


> It would be helpful if these renames and removals can all happen at the
> same time so that the embedders notice the behavior change by getting
> compiler errors.
>

Yes, good idea.

Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.