MCPcopy Create free account
hub / github.com/ReactiveX/rxjs / recordError

Method recordError

packages/test/src/virtual-time.ts:357–363  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

355 }
356
357 recordError(error: unknown): void {
358 this.#reportedErrors.push(error);
359 if (!this.#hasError) {
360 this.#hasError = true;
361 this.#firstError = error;
362 }
363 }
364
365 async #flushInternal(): Promise<void> {
366 for (;;) {

Callers 6

#executeMethod · 0.95
#trackPromiseMethod · 0.95
#runAnimationFrameMethod · 0.95
#runIdleCallbackMethod · 0.95
#installReportErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected