-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoh_exceptions.py
114 lines (78 loc) · 3.62 KB
/
coh_exceptions.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
"""Custom exception classes.
CLASSES
-------
ProcessingOrderError : Exception
- Class for raising exceptions/errors associated with performing processing
steps in an incorrect order.
UnavailableProcessingError : Exception
- Class for raising exceptions/error associated with trying to perform
processing steps that cannot be done.
MissingAttributeError : Exception
- Class for raising exceptions/errors associated with attributes of an
object that have not been instantiated.
EntryLengthError : Exception
- Class for raising exceptions/errors associated with entries within a list
having a nonidentical length.
DuplicateEntryError : Exception
- Class for raising exceptions/errors associated with duplicate entries
occurring within an object.
MissingEntryError : Exception
- Class for raising exceptions/errors associated with missing entries between
objects.
ChannelOrderError : Exception
- Class for raising exceptions/errors associated with lists of channel names
being in different orders.
ChannelAttributeError : Exception
- Class for raising exceptions/errors associated with trying to handle
channels with different attributes.
UnidenticalEntryError : Exception
- Class for raising exceptions/errors associated with two objects being
unidentical.
PreexistingAttributeError
- Class for raising exceptions/errors associated with an attribute already
existing within an object.
MissingFileExtensionError : Exception
- Class for raising exceptions/errors associated with a filename string
missing a filetype extension.
UnsupportedFileExtensionError : Exception
- Class for raising exceptions/errors associated with a filename string
containing a filetype extension for which saving is not supported.
"""
class ProcessingOrderError(Exception):
"""Class for raising exceptions/errors associated with performing processing
steps in an incorrect order."""
class UnavailableProcessingError(Exception):
"""Class for raising exceptions/error associated with trying to perform
processing steps that cannot be done."""
class MissingAttributeError(Exception):
"""Class for raising exceptions/errors associated with attributes of an
object that have not been instantiated."""
class EntryLengthError(Exception):
"""Class for raising exceptions/error associated with entries within a list
having a nonidentical length."""
class DuplicateEntryError(Exception):
"""Class for raising exceptions/errors associated with duplicate entries
occurring within an object.
"""
class MissingEntryError(Exception):
"""Class for raising exceptions/errors associated with missing entries
between objects."""
class ChannelOrderError(Exception):
"""Class for raising exceptions/errors associated with lists of channel
names being in different orders.
"""
class ChannelAttributeError(Exception):
"""Class for raising exceptions/errors associated with trying to handle
channels with different attributes."""
class UnidenticalEntryError(Exception):
"""Class for raising exceptions/errors associated with two objects being
unidentical."""
class PreexistingAttributeError(Exception):
"""Class for raising exceptions/errors associated with an attribute already
existing within an object."""
class MissingFileExtensionError(Exception):
"""Class for raising exceptions/errors associated with a filename string
missing a filetype extension."""
class UnsupportedFileExtensionError(Exception):
"""Class for raising exceptions/errors associated with a filename string
containing a filetype extension for which saving is not supported."""