                                                             statusCode:.OK,
                                                             data: nil)
 
-
             // Erase the tasks
             if let document=group.document {
                 bprint("Deleting tasks of \(group.name)", file: #file, function: #function, line: #line, category:TasksScheduler.BPRINT_CATEGORY)

    }

}

            } else {
                throw TasksSchedulerError.TaskGroupNotFound
            }
        }
    }

    /**
     Returns a qualified infos string

     - parameter groupName: the name of the group
     - parameter document:  the document

     - returns: the informations on the current state of the group.
     */
    public func groupInfos(groupName: String, inDocument document: BartlebyDocument) -> String {
        do {
            let group = try getTaskGroupWithName(groupName, inDocument: document)
            return group.toString()
        } catch {
         return "Error while attempting to find \(groupName) in \(document.spaceUID) \(error)"
        }
    }

