Enum Class FlowErrorType
- All Implemented Interfaces:
Serializable, Comparable<FlowErrorType>, Constable
Classifies why a Flow reached a terminal status other than
FlowStatus.COMPLETED.
FlowResult.getErrorType() exposes this value after Dex records a Flow failure.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA client API operation caused the Flow to fail.A Dex soft Flow timeout expired underFlowTimeoutPolicy.FAIL.Dex encountered an internal failure.Dex rejected invalid user Flow code or an invalid definition.A Step returned a decision that failed the Flow.A worker API invocation caused the Flow to fail. -
Method Summary
Modifier and TypeMethodDescriptionstatic FlowErrorTypeReturns the enum constant of this class with the specified name.static FlowErrorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STEP_DECISION_FAILED
A Step returned a decision that failed the Flow. -
CLIENT_API_FAILED
A client API operation caused the Flow to fail. -
WORKER_API_FAILED
A worker API invocation caused the Flow to fail. -
INVALID_USER_FLOW_CODE
Dex rejected invalid user Flow code or an invalid definition. -
INTERNAL
Dex encountered an internal failure. -
FLOW_TIMEOUT
A Dex soft Flow timeout expired underFlowTimeoutPolicy.FAIL.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-