public static ClickHouseException of(String message, ClickHouseNode server) {
        return new ClickHouseException(extractErrorCode(message), message, server);
    }
Creates an exception to encapsulate the given error message.

@param message error message
@param server  server
@return ClickHouseException
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseException.java