error.py (837B)
1 class StateExists(Exception): 2 """Attempt to add state that already exists. 3 """ 4 pass 5 6 7 class StateInvalid(Exception): 8 """Attempt to operate on or move to a state that does not exist. 9 """ 10 pass 11 12 13 class StateItemExists(Exception): 14 """A content key attempted added that already exists. 15 """ 16 pass 17 18 19 class StateItemNotFound(Exception): 20 """A content key attempted read that does not exist. 21 """ 22 pass 23 24 25 class StateCorruptionError(RuntimeError): 26 """An irrecoverable discrepancy between persisted state and memory state has occurred. 27 """ 28 pass 29 30 31 class StateTransitionInvalid(Exception): 32 """Raised if state transition verification fails 33 """ 34 pass 35 36 37 class StateLockedKey(Exception): 38 """Attempt to write to a state key that is being written to by another client 39 """ 40 pass