airtest.core.error module
error classes
- exception InvalidMatchingMethodError(value)[源代码]
基类:
BaseError
This is InvalidMatchingMethodError BaseError When an invalid matching method is used in settings.
- exception TargetNotFoundError(value)[源代码]
基类:
AirtestError
This is TargetNotFoundError BaseError When something is not found
- exception ScriptParamError(value)[源代码]
基类:
AirtestError
This is ScriptParamError BaseError When something goes wrong
- exception AdbError(stdout, stderr)[源代码]
基类:
Exception
This is AdbError BaseError When ADB have something wrong
- exception DeviceConnectionError(value)[源代码]
基类:
BaseError
device 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)[源代码]
基类:
Exception
This is ICmdError BaseError When ICmd have something wrong
- exception ScreenError(value)[源代码]
基类:
BaseError
When the screen capture method(Minicap/Javacap/ScreenProxy) has something wrong
- exception MinicapError(value)[源代码]
基类:
ScreenError
This is MinicapError BaseError When Minicap have something wrong