[dojo-contributors] Async Errors...

Bill Keese bill at dojotoolkit.org
Mon Jun 4 17:39:44 EDT 2012

I guess that depends what you mean by "catch".   We could add a
console.error() by default, but it the application actually wants to catch
the error and handle it, and the parser is running asynchronously, then the
application would need to register an errback, just like for any other
asynchronous operation (ex: an XHR).

On Tue, Jun 5, 2012 at 6:32 AM, Mike Wilcox <mike at mikewilcox.net> wrote:

> Bill, you're not suggesting that the dev needs to attach error handlers to
> the parser to catch syntax errors, are you?
> Mike
> On Jun 4, 2012, at 4:05 PM, Bill Keese wrote:
> I don't really understand the question though; it seems like we don't need
> to do anything, that it's the app's responsibility to add an errback
> listener to the Promise.
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-contributors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20120605/a8117e63/attachment.htm 

More information about the dojo-contributors mailing list