java.lang.Object
com.couchbase.client.core.transaction.util.QueryUtil

@Internal public class QueryUtil extends Object
  • Method Details

    • convertQueryError

      public static RuntimeException convertQueryError(Throwable err)
      Converts raw query error codes into useful exceptions.

      Once query is returning TransactionOperationFailedException details, this can also raise a TransactionOperationFailedException.

    • chooseQueryError

      public static ErrorCodeAndMessage chooseQueryError(QueryErrorContext ctx)