[dojo-contributors] Async Errors...
bill at dojotoolkit.org
Mon Jun 4 17:05:12 EDT 2012
I worry about using the "micro" event API because it ties us to the dojo
loader, but some people want dojo to be portable to other loaders
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.
On Mon, Jun 4, 2012 at 11:04 PM, Kitson Kelly <kitson.kelly at asseverate.co.uk
> Sorry, I sent this to the wrong mailing list. Meant for dojo-contributors.
> I am taking a look at an issue about the dojo/parser swallowing errors (#<http://goog_861293558>
>> 15441 <http://bugs.dojotoolkit.org/ticket/15441>). Unless I am missing
>> something, there isn't really a standard way of handling async errors in
>> DTK, except that there is this "micro" event API in the loader (I say
>> micro, because that is what it refers to itself as in the comments). It
>> then signals a loading error events and has a listener that writes them to
>> the console.
>> Would it be "safe" to use this? Should there be another module that
>> leverages "dojo/on" for error handling? Am I missing something?
> dojo-contributors mailing list
> dojo-contributors at mail.dojotoolkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dojo-contributors