fun TxnError(opIndex: Int? = null, what: String? = null): TxnError
A function providing a DSL for building io.vertx.ext.consul.TxnError objects.
Holds information describing which operations failed if the transaction was rolled back.
opIndex
- Set the index of the failed operation in the transaction