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

Function createDebugNameObject

packages/core/src/resource/resource.ts:592–599  ·  view source on GitHub ↗

* Creates a debug name object for an internal signal.

(
  resourceDebugName: string | undefined,
  internalSignalDebugName: string,
)

Source from the content-addressed store, hash-verified

590 * Creates a debug name object for an internal signal.
591 */
592function createDebugNameObject(
593 resourceDebugName: string | undefined,
594 internalSignalDebugName: string,
595): {debugName?: string} {
596 return {
597 debugName: `Resource${resourceDebugName ? '#' + resourceDebugName : ''}.${internalSignalDebugName}`,
598 };
599}
600
601export function encapsulateResourceError(error: unknown): Error {
602 if (isErrorLike(error)) {

Callers 5

constructorFunction · 0.70
constructorMethod · 0.70
setMethod · 0.70
loadEffectMethod · 0.70
getLoaderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…