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

Function makeOriginalError

test/specs/stack.spec.js:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11
12 it("should include the stack of the original error", () => {
13 function makeOriginalError () {
14 return new ReferenceError("This is the original error");
15 }
16
17 function makeOuterError (originalError) {
18 return ono(originalError, "Oops, an error happened.");

Callers 1

stack.spec.jsFile · 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…