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

Function newErrorWithInnerErrorAndMessage

test/specs/singleton.spec.js:118–120  ·  view source on GitHub ↗
(innerErr)

Source from the content-addressed store, hash-verified

116 }
117
118 function newErrorWithInnerErrorAndMessage (innerErr) {
119 return ono(innerErr, "Oops, an error happened.");
120 }
121
122 let err = newErrorWithInnerErrorAndMessage(makeInnerError());
123

Callers 1

singleton.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…