method CancelablePromise.prototype.catchimport { CancelablePromise } from "https://deno.land/x/windmill@v1.394.6/windmill-api/core/CancelablePromise.ts"; catch<TResult = never>(onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>Type ParametersoptionalTResult = neverParametersoptionalonRejected: ((reason: any) => TResult | PromiseLike<TResult>) | nullReturnsPromise<T | TResult>