Delete a task using the DeleteTask class.
Small fix about the exception and error management of the library