MCPcopy Create free account
hub / github.com/angular/angular / SignalWritingErrorHandler

Class SignalWritingErrorHandler

packages/core/test/render3/error_boundary_spec.ts:1240–1244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1238 const errors = signal<unknown[]>([]);
1239
1240 class SignalWritingErrorHandler implements ErrorHandler {
1241 handleError(error: unknown) {
1242 errors.update((list) => [...list, error]);
1243 }
1244 }
1245
1246 @Component({
1247 selector: 'app-throws',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected