Package | Description |
---|---|
io.vertx.ext.consul |
Modifier and Type | Method and Description |
---|---|
TxnError |
TxnResponse.getError(int index)
Returns the errors at the specified position in this list
|
TxnError |
TxnError.setOpIndex(int opIndex)
Set the index of the failed operation in the transaction
|
TxnError |
TxnError.setWhat(String what)
Set error message about why that operation failed.
|
Modifier and Type | Method and Description |
---|---|
List<TxnError> |
TxnResponse.getErrors()
Returns list of transaction errors
|
Modifier and Type | Method and Description |
---|---|
TxnResponse |
TxnResponse.addError(TxnError error)
Adds error to this response
|
static void |
TxnErrorConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
TxnError obj) |
static void |
TxnErrorConverter.toJson(TxnError obj,
JsonObject json) |
static void |
TxnErrorConverter.toJson(TxnError obj,
Map<String,Object> json) |
Copyright © 2023 Eclipse. All rights reserved.