Bases: RCONError, Generic[T]
The current state of the protocol does not match the expected states.
-
with_traceback()
Exception.with_traceback(tb) –
set self.__traceback__ to tb and return self.
-
current_state:
TypeVar(T)
The current state of the protocol.
-
expected_states:
tuple[TypeVar(T), ...]
A tuple of states that the protocol was expecting to be in.