Any folder with a (potentially deeply) contained error will have StatusWarning. StatusExcluded marks exclusions. The difference is useful to know for VFS.
It'll be needed in vfs plugins so they can connect to the data coming out of SyncFileStatusTracker.