Example #1
0
 that.error = function error(err, callback) {
     var message = err.message || '(no message)';
     var path = err.path || '(no path)';
     that.event('error', message, JSON.stringify(err), null, callback);
 };