summaryrefslogtreecommitdiff
path: root/src/tablib/exceptions.py
blob: dee2b292a9ae94cafa111223aac324fd4d3a6591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class InvalidDatasetType(Exception):
    "Only Datasets can be added to a DataBook"


class InvalidDimensions(Exception):
    "Invalid size"


class InvalidDatasetIndex(Exception):
    "Outside of Dataset size"


class HeadersNeeded(Exception):
    "Header parameter must be given when appending a column in this Dataset."


class UnsupportedFormat(NotImplementedError):
    "Format is not supported"