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

Class FooError

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

Source from the content-addressed store, hash-verified

121
122 it('should handle Error like objects', async () => {
123 class FooError implements Error {
124 name = 'FooError';
125 message = 'This is a FooError';
126 }
127
128 const injector = TestBed.inject(Injector);
129 const appRef = TestBed.inject(ApplicationRef);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected