exceptions

class DebugException(message: str)[source]

Bases: Exception

Represent an exception enriched with debugging details.

class InstructionNotFoundException(text: str)[source]

Bases: Exception

Represent a failure to resolve an instruction.

class InstructionWithIdNotFoundException(instruction_id: int)[source]

Bases: InstructionNotFoundException

Represent a failure to resolve an instruction by identifier.

class InstructionWithNameNotFoundException(instruction_name: str)[source]

Bases: InstructionNotFoundException

Represent a failure to resolve an instruction by name.

class TextNotFoundException(min_similarity: float)[source]

Bases: Exception

Represent a failure to find text with the required similarity.

class WindowActionWithDesktopException[source]

Bases: Exception

Represent an invalid window action on a desktop UI context.