autopilot.exceptions
- Autopilot Exceptions¶
Autopilot Exceptions.
This module contains exceptions that autopilot may raise in various conditions. Each exception is documented with when it is raised: a generic description in this module, as well as a detailed description in the function or method that raises it.
-
exception
autopilot.exceptions.
BackendException
(original_exception)[source]¶ An error occured while trying to initialise an autopilot backend.
-
exception
autopilot.exceptions.
StateNotFoundError
(class_name=None, **filters)[source]¶ Raised when a piece of state information is not found.
This exception is commonly raised when the application has destroyed (or not yet created) the object you are trying to access in autopilot. This typically happens for a number of possible reasons:
- The UI widget you are trying to access with
select_single
orwait_select_single
orselect_many
does not exist yet. - The UI widget you are trying to access has been destroyed by the application.
- The UI widget you are trying to access with