On this page
tarfile.TarError
Prev: tarfile.tar_filter | Up: tarfile | Next: tarfile.TarFile
Rel: tarfile.AbsoluteLinkError, tarfile.AbsolutePathError, tarfile.CompressionError, tarfile.data_filter
Ref: docs.python.org โ tarfile.TarError
Tags: #public #python3 #stdlib #tarfile
Import
import tarfile
from tarfile import TarError
Signature & Overview
tarfile.TarError(...)
Base exception.
Methods & Attributes
TarError.add_note(self, note, /)โ Add a note to the exceptionTarError.with_traceback(self, tb, /)โ Set self.traceback to tb and return self.
Usage
import tarfile
assert issubclass(tarfile.ReadError, tarfile.TarError)
Gotchas
- Base exception for all
tarfile-specific errors.
REPL Inspect
from tarfile import TarError
help(TarError)
Linked from
Related notes
- tuts/python3/stdlib_module/tarfile/tar_filter Linked here; links to this page; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/TarFile Linked here; links to this page; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/AbsoluteLinkError Linked here; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/AbsolutePathError Linked here; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/CompressionError Linked here; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/data_filter Linked here; shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/tarfile/ExtractError shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/FilterError shared tags: #stdlib, #tarfile
- tuts/python3/stdlib_module/tarfile/fully_trusted_filter shared tags: #stdlib, #tarfile