quast_decisiontree.core.exceptions
quast_decisiontree.core.exceptions
InvalidProblemDataError
Bases: Exception
raised when the problem data is invalid
Source code in src/quast_decisiontree/core/exceptions.py
10 11 | |
ProblemDataUnknownKeyError
Bases: KeyError
raised when a key is encountered in the problem data dictionary that is not known
Source code in src/quast_decisiontree/core/exceptions.py
14 15 16 17 | |
InvalidBitstring
Bases: Exception
parent class for invalid bitstrings for a specific encoding
Source code in src/quast_decisiontree/core/exceptions.py
20 21 | |
InvalidOneHotBitstring
Bases: InvalidBitstring
raised when an invalid one-hot bitstring is passed to a one-hot conversion function
Source code in src/quast_decisiontree/core/exceptions.py
24 25 | |
InvalidProblemDictError
Bases: ValueError
Raised when a problem specification dict cannot be resolved to a problem class.
Source code in src/quast_decisiontree/core/exceptions.py
28 29 | |
InvalidDecisionTreeSetupError
Bases: Exception
raised when an invalid decision tree setup is encountered
Source code in src/quast_decisiontree/core/exceptions.py
32 33 | |
DisconnectedDecisionTreeError
Bases: InvalidDecisionTreeSetupError
raised when the decision tree detects that it is disconnected (there are unreachable nodes)
Source code in src/quast_decisiontree/core/exceptions.py
36 37 38 39 | |
NodeNotFoundError
Bases: Exception
if a node specified in a config file couldn't be found
Source code in src/quast_decisiontree/core/exceptions.py
42 43 | |
ProblemDataInvalidEntryError
Bases: Exception
raised when an invalid entry is encountered and checking entries is turned on
Source code in src/quast_decisiontree/core/exceptions.py
46 47 | |
InvalidConfigValueError
Bases: ValueError
raised when there is a value in a config file that isn't valid
Source code in src/quast_decisiontree/core/exceptions.py
50 51 | |
ProblemDataKeyCollisionError
Bases: Exception
raised when trying to define checks for a key where they already exist
Source code in src/quast_decisiontree/core/exceptions.py
54 55 | |
QueryAbortError
Bases: Exception
raised when a query is aborted
Source code in src/quast_decisiontree/core/exceptions.py
58 59 | |
FinalNodeError
Bases: Exception
raised when the next_node method of a final node is called
Source code in src/quast_decisiontree/core/exceptions.py
62 63 | |
InputFinishedTrigger
Bases: Exception
triggered when the user finished input (e.g., enters an empty string) for a query that would accept any number of inputs
Source code in src/quast_decisiontree/core/exceptions.py
66 67 68 69 | |
InvalidAnsatzError
Bases: Exception
raised when the ansatz doesn't match the problem or has no parameters
Source code in src/quast_decisiontree/core/exceptions.py
72 73 | |
NotSerializableError
Bases: Exception
raised when the saving routines encounter a dictionary entry that isn't serializable
Source code in src/quast_decisiontree/core/exceptions.py
76 77 | |
PenaltyDefaultError
Bases: Exception
raised when no penalty default could be calculated
Source code in src/quast_decisiontree/core/exceptions.py
80 81 | |
NoRequestFunctionError
Bases: Exception
raised when the request function of a node is called, but it has not been set beforehand
Source code in src/quast_decisiontree/core/exceptions.py
84 85 | |
InvalidBackendError
Bases: Exception
raised when the backend cannot be used by the raising node
Source code in src/quast_decisiontree/core/exceptions.py
88 89 | |