MCPcopy Create free account
hub / github.com/chartbrew/chartbrew / createLookupError

Function createLookupError

server/modules/safeRequest.js:47–52  ·  view source on GitHub ↗
(hostname)

Source from the content-addressed store, hash-verified

45}
46
47function createLookupError(hostname) {
48 const error = new Error(`Validated DNS resolution not available for ${hostname}.`);
49 error.code = "ENOTFOUND";
50 error.hostname = hostname;
51 return error;
52}
53
54function createPinnedLookup(expectedHostname, resolvedAddresses = []) {
55 const normalizedExpectedHostname = normalizeHostname(expectedHostname);

Callers 1

createPinnedLookupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected