[dojo-contributors] Async Errors...
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?
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dojo-contributors