MCPcopy Create free account
hub / github.com/ReactTraining/classic-react-workshop / errorJSON

Function errorJSON

subjects/04-Testing/mocha-browser.js:3078–3084  ·  view source on GitHub ↗

* Transform an Error object into a JSON object. * * @api private * @param {Error} err * @return {Object}

(err)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

cleanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected