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

Function newErrorWithProps

test/specs/singleton.spec.js:177–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 function foo () {}
176
177 function newErrorWithProps () {
178 return ono({
179 code: 404,
180 text: "Not Found",
181 timestamp: now,
182 foo
183 });
184 }
185
186 let err = newErrorWithProps();
187

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…