MCPcopy Create free account
hub / github.com/JS-DevTools/ono / makeOuterError

Function makeOuterError

test/specs/stack.spec.js:17–19  ·  view source on GitHub ↗
(originalError)

Source from the content-addressed store, hash-verified

15 }
16
17 function makeOuterError (originalError) {
18 return ono(originalError, "Oops, an error happened.");
19 }
20
21 let originalError = makeOriginalError();
22 let outerError = makeOuterError(originalError);

Callers 1

stack.spec.jsFile · 0.85

Calls 1

onoFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…