airtest.core.error module

error classes

exception BaseError(value)[源代码]

基类:exceptions.Exception

exception AirtestError(value)[源代码]

基类:airtest.core.error.BaseError

This is Airtest BaseError

exception InvalidMatchingMethodError(value)[源代码]

基类:airtest.core.error.BaseError

This is InvalidMatchingMethodError BaseError When an invalid matching method is used in settings.

exception TargetNotFoundError(value)[源代码]

基类:airtest.core.error.AirtestError

This is TargetNotFoundError BaseError When something is not found

exception ScriptParamError(value)[源代码]

基类:airtest.core.error.AirtestError

This is ScriptParamError BaseError When something goes wrong

exception AdbError(stdout, stderr)[源代码]

基类:exceptions.Exception

This is AdbError BaseError When ADB have something wrong

exception AdbShellError(stdout, stderr)[源代码]

基类:airtest.core.error.AdbError

adb shell error

exception DeviceConnectionError(value)[源代码]

基类:airtest.core.error.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)[源代码]

基类:exceptions.Exception

This is ICmdError BaseError When ICmd have something wrong

exception MinicapError(value)[源代码]

基类:airtest.core.error.BaseError

This is MinicapError BaseError When Minicap have something wrong

exception MinitouchError(value)[源代码]

基类:airtest.core.error.BaseError

This is MinitouchError BaseError When Minicap have something wrong

exception PerformanceError(value)[源代码]

基类:airtest.core.error.BaseError