MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / catch

Method catch

packages/core/src/v3/apiClient/core.ts:582–586  ·  view source on GitHub ↗
(
    onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null
  )

Source from the content-addressed store, hash-verified

580 }
581
582 override catch<TResult = never>(
583 onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null
584 ): Promise<T | TResult> {
585 return this.parse().catch(onrejected);
586 }
587
588 override finally(onfinally?: (() => void) | undefined | null): Promise<T> {
589 return this.parse().finally(onfinally);

Callers 15

index.tsFile · 0.80
useDevFunction · 0.80
worker-facade.tsFile · 0.80
#killTaskRunProcessMethod · 0.80
worker-facade.tsFile · 0.80
_doZodFetchFunction · 0.80
index.tsFile · 0.80
readPackageJsonFunction · 0.80
#deletePodMethod · 0.80
createPodMethod · 0.80

Calls 1

parseMethod · 0.95

Tested by

no test coverage detected