MCPcopy Index your code
hub / github.com/nodejs/node / lazyDOMException

Function lazyDOMException

lib/internal/util.js:684–696  ·  view source on GitHub ↗
(message, name)

Source from the content-addressed store, hash-verified

682};
683
684const lazyDOMException = (message, name) => {
685 _DOMException ??= internalBinding('messaging').DOMException;
686 if (isErrorStackTraceLimitWritable()) {
687 const limit = Error.stackTraceLimit;
688 Error.stackTraceLimit = 0;
689 const ex = new _DOMException(message, name);
690 Error.stackTraceLimit = limit;
691 ErrorCaptureStackTrace(ex, lazyDOMException);
692 return ex;
693 }
694 return new _DOMException(message, name);
695
696};
697
698const kEnumerableProperty = ObjectFreeze({
699 __proto__: null,

Callers 15

btoaFunction · 0.85
atobFunction · 0.85
convertLockErrorFunction · 0.85
requestMethod · 0.85
abortListenerMethod · 0.85
createBlobFromFilePathFunction · 0.85
readNextFunction · 0.85
mlDsaExportKeyFunction · 0.85
mlDsaImportKeyFunction · 0.85
mlDsaSignVerifyFunction · 0.85
validateMaxBufferLengthFunction · 0.85
normalizeAlgorithmFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…