JSONCacheError
public enum JSONCacheError : Error
Enum describing the set of errors that may be returned by JSONCache methods
-
A managed object model with the wrapped file name could not be found.
Declaration
Swift
case modelNotFound(String) -
The managed object model could not be initialized with the wrapped URL.
Declaration
Swift
case modelInitializationError(URL) -
The
mainContextisnil, either because boostrapping has not completed, or because it has not been initiated.Declaration
Swift
case managedObjectContextNotAvailable -
There is no entity with the wrapped name.
Declaration
Swift
case noSuchEntity(String) -
The wrapped error ocurred during a Core Data operation.
Declaration
Swift
case coreDataError(Error) -
The application is in a bad state.
Declaration
Swift
case badStateError(String)
View on GitHub
JSONCacheError Enumeration Reference