| Package | Description |
|---|---|
| io.simplesource.api | |
| io.simplesource.kafka.testutils |
| Modifier and Type | Method and Description |
|---|---|
CommandError.Reason |
CommandError.getReason()
The reason value accessor.
|
static CommandError.Reason |
CommandError.Reason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandError.Reason[] |
CommandError.Reason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static CommandError |
CommandError.of(CommandError.Reason reason,
String msg)
Construct a
CommandError from a Throwable. |
static CommandError |
CommandError.of(CommandError.Reason reason,
Throwable throwable)
Construct a
CommandError from a Throwable. |
| Modifier and Type | Method and Description |
|---|---|
void |
AggregateTestHelper.PublishBuilder.expectingFailure(NonEmptyList<CommandError.Reason> expectedErrorCodes)
Publish the command and assert that the call failed.
|
Copyright © 2019. All rights reserved.