Files
hyperoslo-Cache/Source/Shared/Library/StorageError.swift
T
2017-09-13 15:44:55 +02:00

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
}