@usine/core/attempt/outcome
Classes
Section titled “Classes”AttemptCanceled
Section titled “AttemptCanceled”The operator canceled the Run during this Attempt.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AttemptCanceled(…
args):AttemptCanceled
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props?: object, options?: MakeOptions] |
Returns
Section titled “Returns”AttemptFailed
Section titled “AttemptFailed”The attempt failed with the typed failure that closed it.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AttemptFailed(…
args):AttemptFailed
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”failure
Section titled “failure”
readonlyfailure:InfraFailure|DefectFailure|AgentFailure|RunawayFailure|ChildSessionBudgetFailure
AttemptSucceeded
Section titled “AttemptSucceeded”The attempt finished; the step result is stored on the Step.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AttemptSucceeded(…
args):AttemptSucceeded
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props?: object, options?: MakeOptions] |
Returns
Section titled “Returns”Type Aliases
Section titled “Type Aliases”AttemptOutcome
Section titled “AttemptOutcome”AttemptOutcome = typeof
AttemptOutcome.Type
The recorded end of one try; a failed Attempt may still be followed by a retry of the same Step.
Variables
Section titled “Variables”AttemptOutcome
Section titled “AttemptOutcome”
constAttemptOutcome:Schema.Union<readonly [typeofAttemptSucceeded, typeofAttemptFailed, typeofAttemptCanceled]>
The recorded end of one try; a failed Attempt may still be followed by a retry of the same Step.