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

Function uvErrmapGet

lib/internal/errors.js:629–633  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

627const uvUnmappedError = ['UNKNOWN', 'unknown error'];
628
629function uvErrmapGet(name) {
630 uvBinding = lazyUv();
631 uvBinding.errmap ??= uvBinding.getErrorMap();
632 return MapPrototypeGet(uvBinding.errmap, name);
633}
634
635/**
636 * This creates an error compatible with errors produced in the C++

Callers 3

getSystemErrorNameFunction · 0.85
constructorMethod · 0.85
constructorMethod · 0.85

Calls 2

getErrorMapMethod · 0.80
lazyUvFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…