Wraps error into a SystemError
function(msg, code, errorStr, cb) {
                return function(error, data) {
                    if (error) {
                        error = json_rpc.newSysError(msg, code, errorStr,
                                                     error);
                    }
                    cb(error, data);
                };
            }