## 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 | 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 | 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 | Description
    --- | --- | ---
    `TxnResponse` | TxnResponse.`addError​(TxnError error)` | Adds error to this response