Add client shard eval/client property fetching, and improve existing shard stuff

This commit is contained in:
Schuyler Cebulskie
2016-09-27 02:19:53 -04:00
parent c26fc49caf
commit e5a987e0ef
7 changed files with 177 additions and 71 deletions

7
src/util/MakeError.js Normal file
View File

@@ -0,0 +1,7 @@
module.exports = function makeError(obj) {
const err = new Error(obj.message, obj.fileName, obj.lineNumber);
err.name = obj.name;
err.columnNumber = obj.columnNumber;
err.stack = obj.stack;
return err;
};