Exceptions¶
-
class
qtrio.
NoOutcomesError
¶ Bases:
qtrio.QTrioException
Raised if you try to unwrap a
qtrio.Outcomes
which has no outcomes.
-
class
qtrio.
EventTypeRegistrationError
¶ Bases:
qtrio.QTrioException
Base class for various event type registration exceptions to inherit from.
-
class
qtrio.
EventTypeRegistrationFailedError
¶ Bases:
qtrio.EventTypeRegistrationError
Raised if the attempt to register a new event type fails.
Bases:
qtrio.EventTypeRegistrationError
Raised if the requested event type is unavailable.
-
class
qtrio.
EventTypeAlreadyRegisteredError
¶ Bases:
qtrio.EventTypeRegistrationError
Raised when a request is made to register an event type but a type has already been registered previously.
-
class
qtrio.
ReturnCodeError
¶ Bases:
qtrio.QTrioException
Wraps a QApplication return code as an exception.
-
class
qtrio.
InternalError
¶ Bases:
qtrio.QTrioException
Raised when an internal state is inconsistent.
-
class
qtrio.
UserCancelledError
¶ Bases:
qtrio.QTrioException
Raised when a user requested cancellation of an operation.
-
class
qtrio.
InvalidInputError
¶ Bases:
qtrio.QTrioException
Raised when invalid input is provided such as via a dialog.