MCPcopy Index your code
hub / github.com/UI5/webcomponents / logDocumentationError

Function logDocumentationError

packages/tools/lib/cem/utils.mjs:374–383  ·  view source on GitHub ↗
(modulePath, message)

Source from the content-addressed store, hash-verified

372};
373
374const logDocumentationError = (modulePath, message) => {
375 let moduleErrors = documentationErrors.get(modulePath);
376
377 if (!moduleErrors) {
378 documentationErrors.set(modulePath, []);
379 moduleErrors = documentationErrors.get(modulePath);
380 }
381
382 moduleErrors.push(message);
383}
384
385const displayDocumentationErrors = () => {
386 let errorsCount = 0;

Callers 4

processClassFunction · 0.90
packageLinkPhaseFunction · 0.90
processEventFunction · 0.90
validateJSDocCommentFunction · 0.85

Calls 2

getMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected