public static ClickHouseException forCancellation(Exception e, ClickHouseNode server) {
        Throwable cause = e.getCause();
        if (cause == null) {
            cause = e;
        }

        return new ClickHouseException(ERROR_ABORTED, cause, server);
    }
Creates an exception for cancellation.

@param e      exception
@param server server
@return ClickHouseException
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseException.java