On this page
zipapp.ZipAppError
Prev: zipapp.get_interpreter | Up: zipapp
Rel: zipapp.create_archive, zipapp.get_interpreter
Ref: docs.python.org โ zipapp.ZipAppError
Tags: #public #python3 #stdlib #zipapp
Import
import zipapp
from zipapp import ZipAppError
Signature & Overview
zipapp.ZipAppError(...)
zipapp.ZipAppError class.
Methods & Attributes
ZipAppError.add_note(self, note, /)โ Add a note to the exceptionZipAppError.with_traceback(self, tb, /)โ Set self.traceback to tb and return self.
Usage
import zipapp
assert issubclass(zipapp.ZipAppError, ValueError)
Gotchas
- Raised when
create_archive()encounters invalid entry points or missing__main__.py.
REPL Inspect
from zipapp import ZipAppError
help(ZipAppError)
Linked from
Related notes
- tuts/python3/stdlib_module/zipapp/create_archive Linked here; links to this page; shared tags: #stdlib, #zipapp
- tuts/python3/stdlib_module/zipapp/get_interpreter Linked here; links to this page; shared tags: #stdlib, #zipapp
- tuts/python3/stdlib_module/zipapp Linked here; links to this page; shared tags: #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib
- tuts/c/stdlib/assert/static_assert shared tags: #stdlib
- tuts/c/stdlib/ctype shared tags: #stdlib
- tuts/c/stdlib/ctype/isalpha shared tags: #stdlib
- tuts/c/stdlib/ctype/isdigit shared tags: #stdlib