aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/docx/opc/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/docx/opc/exceptions.py')
-rw-r--r--.venv/lib/python3.12/site-packages/docx/opc/exceptions.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/docx/opc/exceptions.py b/.venv/lib/python3.12/site-packages/docx/opc/exceptions.py
new file mode 100644
index 00000000..c5583d30
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/docx/opc/exceptions.py
@@ -0,0 +1,12 @@
+"""Exceptions specific to python-opc.
+
+The base exception class is OpcError.
+"""
+
+
+class OpcError(Exception):
+ """Base error class for python-opc."""
+
+
+class PackageNotFoundError(OpcError):
+ """Raised when a package cannot be found at the specified path."""