[TAR] Add notes about wrongField being unused into its doc comment

This commit is contained in:
Timofey Solomko
2018-07-14 20:41:05 +03:00
parent 2a2842ebc3
commit df347d850c
+5 -1
View File
@@ -12,7 +12,11 @@ import Foundation
public enum TarError: Error {
/// Size of data is too small, even to contain only one header.
case tooSmallFileIsPassed
/// Failed to process a TAR header's field.
/**
Failed to process a TAR header's field.
- Note: This error case is never thrown and will be removed in a future major update.
*/
case wrongField
/// Computed checksum of a header doesn't match the value stored in container.
case wrongHeaderChecksum