airtest.core.error module
error classes
- exception InvalidMatchingMethodError(value)[source]
Bases:
BaseErrorThis is InvalidMatchingMethodError BaseError When an invalid matching method is used in settings.
- exception TargetNotFoundError(value)[source]
Bases:
AirtestErrorThis is TargetNotFoundError BaseError When something is not found
- exception ScriptParamError(value)[source]
Bases:
AirtestErrorThis is ScriptParamError BaseError When something goes wrong
- exception AdbError(stdout, stderr)[source]
Bases:
ExceptionThis is AdbError BaseError When ADB have something wrong
- exception DeviceConnectionError(value)[source]
Bases:
BaseErrordevice connection error
- DEVICE_CONNECTION_ERROR = "error:\\s*((device \\'\\S+\\' not found)|(cannot connect to daemon at [\\w\\:\\s\\.]+ Connection timed out))"
- exception ICmdError(stdout, stderr)[source]
Bases:
ExceptionThis is ICmdError BaseError When ICmd have something wrong
- exception ScreenError(value)[source]
Bases:
BaseErrorWhen the screen capture method(Minicap/Javacap/ScreenProxy) has something wrong
- exception MinicapError(value)[source]
Bases:
ScreenErrorThis is MinicapError BaseError When Minicap have something wrong
- exception MinitouchError(value)[source]
Bases:
BaseErrorThis is MinitouchError BaseError When Minicap have something wrong