Files
hyperoslo-Cache/Source/Shared/Library/StorageError.swift
T

15 lines
344 B
Swift

import Foundation
public enum CacheError: 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
}