Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ActionCondition

import type { ActionCondition } from "https://googleapis.deno.dev/v1/batch:v1.ts";

Conditions for actions to deal with task failures.

interface ActionCondition {
exitCodes?: number[];
}

§Properties

§
exitCodes?: number[]
[src]

Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.