Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JS-DevTools/ono
/ newErrorWithMessage
Function
newErrorWithMessage
test/specs/singleton.spec.js:52–54 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
50
51
it(
"can be called with just a message"
, () => {
52
function
newErrorWithMessage () {
53
return
ono(
"Onoes!!!"
);
54
}
55
56
let
err = newErrorWithMessage();
57
Callers
1
singleton.spec.js
File · 0.85
Calls
1
ono
Function · 0.50
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…