Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/openpyxl/utils/exceptions.py: 100%
8 statements
« prev ^ index » next coverage.py v7.3.3, created at 2023-12-20 06:34 +0000
« prev ^ index » next coverage.py v7.3.3, created at 2023-12-20 06:34 +0000
1# Copyright (c) 2010-2023 openpyxl
4"""Definitions for openpyxl shared exception classes."""
7class CellCoordinatesException(Exception):
8 """Error for converting between numeric and A1-style cell references."""
11class IllegalCharacterError(Exception):
12 """The data submitted which cannot be used directly in Excel files. It
13 must be removed or escaped."""
16class NamedRangeException(Exception):
17 """Error for badly formatted named ranges."""
20class SheetTitleException(Exception):
21 """Error for bad sheet names."""
24class InvalidFileException(Exception):
25 """Error for trying to open a non-ooxml file."""
28class ReadOnlyWorkbookException(Exception):
29 """Error for trying to modify a read-only workbook"""
32class WorkbookAlreadySaved(Exception):
33 """Error when attempting to perform operations on a dump workbook
34 while it has already been dumped once"""