A tar archive could not be encoded or decoded.
"InvalidHeader": a header has a bad checksum, a malformed field, or a value that cannot be written."Truncated": the input ended inside a header or an entry body."SizeMismatch": a body produced a byte count other than itssize."Unsupported": the archive uses a feature this module does not read, such as GNU sparse files."BodyConsumed": a body was read after the decoder had moved past it.
Attributes#
| Attribute | Type | Description |
|---|---|---|
kind | TarErrorKind | |
message | str |
Functions#
__init__#
__init__(kind, message) -> None| Parameter | Type | Description |
|---|---|---|
kind | TarErrorKind | |
message | str |