Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ lazyError
Function
lazyError
lib/internal/assert.js:4–6 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
3
let
error;
4
function
lazyError() {
5
return
error ??= require(
'internal/errors'
).codes.ERR_INTERNAL_ASSERTION;
6
}
7
8
function
assert(value, message) {
9
if
(!value) {
Callers
2
assert
Function · 0.85
fail
Function · 0.85
Calls
1
require
Function · 0.50
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…