MCPcopy
hub / github.com/angular/angular / rethrowFatalErrors

Function rethrowFatalErrors

packages/core/src/resource/resource.ts:679–686  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

677}
678
679export function rethrowFatalErrors(error: unknown) {
680 if (
681 error instanceof RuntimeError &&
682 error.code === RuntimeErrorCode.INVALID_RESOURCE_CREATION_IN_PARAMS
683 ) {
684 throw error;
685 }
686}

Callers 3

debouncedFunction · 0.90
constructorMethod · 0.85
loadEffectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…