Interface WorkflowPolicyFailed
interface WorkflowPolicyFailed {
error: unknown;
errorMessage: string;
kind: "workflow policy failed";
policy: PolicyName;
}
error: unknown;
errorMessage: string;
kind: "workflow policy failed";
policy: PolicyName;
}
Hierarchy
- CausedByError
- WorkflowPolicyFailed
Properties
Readonlyerror
error: unknown
What the custom code threw, as it was thrown.
Readonlyerror Message
errorMessage: string
The message of what it threw: its message for an Error, and its text
otherwise.
Readonlykind
kind: "workflow policy failed"
Tells this refusal from the others.
Readonlypolicy
The policy's name.
One of the workflow's policies failed while it was built for the journey.