Files
SWCompression/Sources/Common/DataError.swift
T
Timofey Solomko bb39e6e36d Remove DataError.encrypted
I think, this case is covered by DataError.unsupportedFeature, and we don't want redundant cases, since we're trying to minimize the amount of different error types.
2021-09-25 15:50:21 +03:00

14 lines
263 B
Swift

// Copyright (c) 2021 Timofey Solomko
// Licensed under MIT License
//
// See LICENSE for license information
import Foundation
public enum DataError: Error {
case truncated
case corrupted
case checksumMismatch([Data])
case unsupportedFeature
}