# RoomleCacheManagerError


  • Cases
    • noInternetConnection
    • noDataAvailable
    • cachedDataIsNotAnImage
public enum RoomleCacheManagerError : Int, Error

All possible errors which are thrown if something regarding the RoomleCacheManager is not working correctly.

# Cases

# noInternetConnection

case noInternetConnection

Is thrown if trying to cache new resources, while there is no internet connection

# noDataAvailable

case noDataAvailable

Is thrown if trying to load an cached entry, while there is no entry available

# cachedDataIsNotAnImage

case cachedDataIsNotAnImage

Is thrown if converting data to an image could not be done, because cached entry is no image