MCPcopy 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
3let error;
4function lazyError() {
5 return error ??= require('internal/errors').codes.ERR_INTERNAL_ASSERTION;
6}
7
8function assert(value, message) {
9 if (!value) {

Callers 2

assertFunction · 0.85
failFunction · 0.85

Calls 1

requireFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…