public static enum SagaError.Reason extends Enum<SagaError.Reason>
Enum Constant and Description |
---|
CommandError
There was an error with a simple sourcing or other command.
|
InternalError
An undetermined error occurred.
|
InvalidSaga
The build steps used to create a saga are invalid.
|
Timeout
A saga or action processing step timed out.
|
UnexpectedErrorCode
An unexpected error occurred.
|
Modifier and Type | Method and Description |
---|---|
static SagaError.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SagaError.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SagaError.Reason InvalidSaga
public static final SagaError.Reason Timeout
public static final SagaError.Reason CommandError
public static final SagaError.Reason InternalError
public static final SagaError.Reason UnexpectedErrorCode
public static SagaError.Reason[] values()
for (SagaError.Reason c : SagaError.Reason.values()) System.out.println(c);
public static SagaError.Reason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.