MCPcopy Index your code
hub / github.com/angular/angular / nodeNotFoundAtPathError

Function nodeNotFoundAtPathError

packages/core/src/hydration/error_handling.ts:188–196  ·  view source on GitHub ↗
(host: Node, path: string)

Source from the content-addressed store, hash-verified

186 * @param path the path to the node
187 */
188export function nodeNotFoundAtPathError(host: Node, path: string): Error {
189 const header =
190 `During hydration Angular was unable to locate a node ` +
191 `using the "${path}" path, starting from the ${describeRNode(host)} node.\n\n`;
192 const footer = getHydrationErrorFooter();
193
194 markRNodeAsHavingHydrationMismatch(host);
195 throw new RuntimeError(RuntimeErrorCode.HYDRATION_MISSING_NODE, header + footer);
196}
197
198/**
199 * Builds the hydration error message in the case that dom nodes are created outside of

Callers 1

navigateToNodeFunction · 0.90

Calls 3

describeRNodeFunction · 0.85
getHydrationErrorFooterFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…