## Uses of Class
io.vertx.ext.consul.TxnError

- Packages that use TxnError
  Package | Description
  --- | ---
  io.vertx.ext.consul |

- - ### Uses of TxnError in io.vertx.ext.consul

    Methods in io.vertx.ext.consul that return TxnError
    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.

    Methods in io.vertx.ext.consul that return types with arguments of type TxnError
    Modifier and Type | Method and Description
    --- | ---
    `List<TxnError>` | TxnResponse.`getErrors()` Returns list of transaction errors

    Methods in io.vertx.ext.consul with parameters of type TxnError
    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 © 2021 Eclipse. All rights reserved.