Coverage for /home/martinb/.local/share/virtualenvs/camcops/lib/python3.6/site-packages/openpyxl/utils/exceptions.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# Copyright (c) 2010-2020 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"""