Creates a directory at the specified path.
The path of the directory to create.
If an error occurs during the directory creation.
If the operation is cancelled.