Removes a directory at the specified path.
The path of the directory to remove.
If an error occurs during the directory removal.
If the operation is cancelled.