method CancelablePromise.prototype.catchimport { CancelablePromise } from "https://dotland.deno.dev/x/windmill@v1.415.1/windmill-api/index.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>