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

x/windmill/windmill-api/index.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.415.2/windmill-api/index.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

any default error handler set