airtest.core.error module¶
error classes
-
exception
AirtestError(value)[source]¶ Bases:
airtest.core.error.BaseErrorThis is Airtest BaseError
-
exception
InvalidMatchingMethodError(value)[source]¶ Bases:
airtest.core.error.BaseErrorThis is InvalidMatchingMethodError BaseError When an invalid matching method is used in settings.
-
exception
TargetNotFoundError(value)[source]¶ Bases:
airtest.core.error.AirtestErrorThis is TargetNotFoundError BaseError When something is not found
-
exception
ScriptParamError(value)[source]¶ Bases:
airtest.core.error.AirtestErrorThis is ScriptParamError BaseError When something goes wrong
-
exception
AdbError(stdout, stderr)[source]¶ Bases:
ExceptionThis is AdbError BaseError When ADB have something wrong
-
exception
AdbShellError(stdout, stderr)[source]¶ Bases:
airtest.core.error.AdbErroradb shell error
-
exception
DeviceConnectionError(value)[source]¶ Bases:
airtest.core.error.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:
airtest.core.error.BaseErrorWhen the screen capture method(Minicap/Javacap/ScreenProxy) has something wrong
-
exception
MinicapError(value)[source]¶ Bases:
airtest.core.error.ScreenErrorThis is MinicapError BaseError When Minicap have something wrong
-
exception
MinitouchError(value)[source]¶ Bases:
airtest.core.error.BaseErrorThis is MinitouchError BaseError When Minicap have something wrong
-
exception
PerformanceError(value)[source]¶ Bases:
airtest.core.error.BaseError