MCPcopy
hub / github.com/FormidableLabs/webpack-dashboard / deserializeError

Function deserializeError

utils/error-serialization.js:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7});
8
9const deserializeError = serializedError => {
10 const err = new Error();
11 err.code = serializedError.code;
12 err.message = serializedError.message;
13 err.stack = serializedError.stack;
14 return err;
15};
16
17module.exports = {
18 serializeError,

Callers 1

setDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…