MCPcopy Index your code
hub / github.com/angular/angular / catch

Method catch

packages/zone.js/lib/common/promise.ts:554–558  ·  view source on GitHub ↗
(
        onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null,
      )

Source from the content-addressed store, hash-verified

552 }
553
554 catch<TResult = never>(
555 onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null,
556 ): Promise<R | TResult> {
557 return this.then(null, onRejected);
558 }
559
560 finally<U>(onFinally?: () => U | PromiseLike<U>): Promise<R> {
561 // See comment on the call to `then` about why thee `Symbol.species` is safely accessed.

Callers

nothing calls this directly

Calls 1

thenMethod · 0.95

Tested by

no test coverage detected