MCPcopy
hub / github.com/angular/angular / constructor

Method constructor

packages/core/test/render3/reactivity_spec.ts:137–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135
136 class FakeErrorHandler extends ErrorHandler {
137 constructor() {
138 super();
139 effect(() => {
140 if (shouldError()) {
141 throw new Error('fail!');
142 }
143 });
144 }
145
146 override handleError(error: any): void {
147 lastError = error;

Callers

nothing calls this directly

Calls 1

effectFunction · 0.90

Tested by

no test coverage detected