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

x/windmill/windmill-api/services/ScheduleService.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)
Go to Latest
method ScheduleService.setDefaultErrorOrRecoveryHandler
import { ScheduleService } from "https://deno.land/x/windmill@v1.391.0/windmill-api/services/ScheduleService.ts";

Set default error or recoevery handler

Parameters

unnamed 0: { workspace: string; requestBody: { handler_type: "error" | "recovery"; 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