Interface StepHookDefinedTwice
interface StepHookDefinedTwice {
hook:
| "on step success"
| "on step failure"
| "on step retry"
| "on step abnormal termination";
kind: "hook defined twice";
policies: readonly PolicyName[];
step: StepName;
}
hook:
| "on step success"
| "on step failure"
| "on step retry"
| "on step abnormal termination";
kind: "hook defined twice";
policies: readonly PolicyName[];
step: StepName;
}
Properties
Readonlyhook
hook:
| "on step success"
| "on step failure"
| "on step retry"
| "on step abnormal termination"
| "on step success"
| "on step failure"
| "on step retry"
| "on step abnormal termination"
The hook they define.
Readonlykind
kind: "hook defined twice"
Tells this violation from the others.
Readonlypolicies
The policies that define it, in the order they are attached.
Readonlystep
The step the policies are attached to.
Two step policies attached to one step define the same step hook.