mirror of
https://github.com/hyperoslo/Cache.git
synced 2026-04-07 19:17:36 +00:00
15 lines
346 B
Swift
15 lines
346 B
Swift
import Foundation
|
|
|
|
public enum StorageError: Error {
|
|
/// Object can be found
|
|
case notFound
|
|
/// Object is found, but casting to requested type failed
|
|
case typeNotMatch
|
|
/// The file attributes are malformed
|
|
case malformedFileAttributes
|
|
/// Can't perform Decode
|
|
case decodingFailed
|
|
/// Can't perform Encode
|
|
case encodingFailed
|
|
}
|