[Sugar-devel] Error handling in async js code

Daniel Narvaez dwnarvaez at gmail.com
Thu May 30 14:19:08 EDT 2013


Hello,

in the async API we have written so far we have not been handling errors
very consistently. I think we should just adopt the nodejs convention. The
first parameter passed to all the async callbacks is an error or null if
the call succeeded.

-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130530/f982f4f8/attachment.html>


More information about the Sugar-devel mailing list