Skip to main content
Module

x/windmill/windmill-api/index.ts>CancelablePromise#catch

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
method CancelablePromise.prototype.catch
import { CancelablePromise } from "https://deno.land/x/windmill@v1.298.0/windmill-api/index.ts";

Type Parameters

optional
TResult = never

Parameters

optional
onRejected: ((reason: any) => TResult | PromiseLike<TResult>) | null

Returns

Promise<T | TResult>