method CancelablePromise.prototype.catchimport { CancelablePromise } from "https://dotland.deno.dev/x/wmill@v1.423.1/gen/index.ts"; catch<TResult = never>(onRejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>Type ParametersoptionalTResult = neverParametersoptionalonRejected: ((reason: unknown) => TResult | PromiseLike<TResult>) | nullReturnsPromise<T | TResult>