diff options
Diffstat (limited to '.venv/lib/python3.12/site-packages/openpyxl/utils/exceptions.py')
-rw-r--r-- | .venv/lib/python3.12/site-packages/openpyxl/utils/exceptions.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/openpyxl/utils/exceptions.py b/.venv/lib/python3.12/site-packages/openpyxl/utils/exceptions.py new file mode 100644 index 00000000..7b05f742 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/openpyxl/utils/exceptions.py @@ -0,0 +1,34 @@ +# Copyright (c) 2010-2024 openpyxl + + +"""Definitions for openpyxl shared exception classes.""" + + +class CellCoordinatesException(Exception): + """Error for converting between numeric and A1-style cell references.""" + + +class IllegalCharacterError(Exception): + """The data submitted which cannot be used directly in Excel files. It + must be removed or escaped.""" + + +class NamedRangeException(Exception): + """Error for badly formatted named ranges.""" + + +class SheetTitleException(Exception): + """Error for bad sheet names.""" + + +class InvalidFileException(Exception): + """Error for trying to open a non-ooxml file.""" + + +class ReadOnlyWorkbookException(Exception): + """Error for trying to modify a read-only workbook""" + + +class WorkbookAlreadySaved(Exception): + """Error when attempting to perform operations on a dump workbook + while it has already been dumped once""" |