pksunkara/octonode — Issue #7: Change error handling to node.js convention
Author: mwawrusch
Created: 2012-01-08 17:03:59+00:00
State: open

THe throwing of errors seems to be not really that great. A better approach imho would be to do a
return cb(err) if err
or
return cb(new Error(..)) if err

instead. This allows us to always have node.js syntax with callbacks.