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

Class FooError

packages/core/rxjs-interop/test/rx_resource_spec.ts:135–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133
134 it('should handle Error like objects', async () => {
135 class FooError implements Error {
136 name = 'FooError';
137 message = 'This is a FooError';
138 }
139
140 const injector = TestBed.inject(Injector);
141 const appRef = TestBed.inject(ApplicationRef);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected