Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/mod.ts>ScheduleService.setDefaultErrorOrRecoveryHandler

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Latest
method ScheduleService.setDefaultErrorOrRecoveryHandler
import { ScheduleService } from "https://deno.land/x/windmill@v1.418.0/mod.ts";

Set default error or recoevery handler

Parameters

unnamed 0: { workspace: string; requestBody: { handler_type: "error" | "recovery" | "success"; override_existing: boolean; path?: string; extra_args?: any; number_of_occurence?: number; number_of_occurence_exact?: boolean; workspace_handler_muted?: boolean; }; }

Returns

CancelablePromise<any>

any default error handler set