added support for error messages related to emptying the cache