MCPcopy Create free account
hub / github.com/code-pushup/cli / throwIsNotPresentError

Function throwIsNotPresentError

packages/utils/src/lib/reports/utils.ts:231–236  ·  view source on GitHub ↗
(
  itemName: string,
  presentPlace: string,
)

Source from the content-addressed store, hash-verified

229}
230
231export function throwIsNotPresentError(
232 itemName: string,
233 presentPlace: string,
234): never {
235 throw new Error(`${itemName} is not present in ${presentPlace}`);
236}
237
238export function getPluginNameFromSlug(
239 slug: string,

Callers 2

getSortableAuditByRefFunction · 0.85
getSortableGroupByRefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected