guibot.errors module

Exceptions used by all guibot interfaces and modules.

SUMMARY

INTERFACE

exception guibot.errors.GuiBotError[source]

Bases: Exception

GuiBot exception base class.

exception guibot.errors.FileNotFoundError[source]

Bases: GuiBotError

Exception raised when a picture file cannot be found on disc.

exception guibot.errors.IncompatibleTargetError[source]

Bases: GuiBotError

Exception raised when a matched target is of type that cannot be handled by the finder.

exception guibot.errors.IncompatibleTargetFileError[source]

Bases: GuiBotError

Exception raised when a matched target is restored from a file of unsupported type.

exception guibot.errors.FindError(failed_target: Target = None)[source]

Bases: GuiBotError

Exception raised when an Image cannot be found on the screen.

exception guibot.errors.NotFindError(failed_target: Target = None)[source]

Bases: GuiBotError

Exception raised when an Image can be found on the screen but should not be.

exception guibot.errors.UnsupportedBackendError[source]

Bases: GuiBotError

Exception raised when a non-existent method is used for finding a target.

exception guibot.errors.MissingHotmapError[source]

Bases: GuiBotError

Exception raised when an attempt to access a non-existent hotmap in the image logger is made.

exception guibot.errors.UninitializedBackendError[source]

Bases: GuiBotError

Exception raised when a region is created within an empty screen (a disconnected display control backend).