airtest.core.error module

error classes

exception BaseError(value)[source]

Bases: exceptions.Exception

exception AirtestError(value)[source]

Bases: airtest.core.error.BaseError

This is Airtest BaseError

exception TargetNotFoundError(value)[source]

Bases: airtest.core.error.AirtestError

This is TargetNotFoundError BaseError When something is not found

exception ScriptParamError(value)[source]

Bases: airtest.core.error.AirtestError

This is ScriptParamError BaseError When something goes wrong

exception AdbError(stdout, stderr)[source]

Bases: exceptions.Exception

This is AdbError BaseError When ADB have something wrong

exception AdbShellError(stdout, stderr)[source]

Bases: airtest.core.error.AdbError

adb shell error

exception DeviceConnectionError(value)[source]

Bases: airtest.core.error.BaseError

device connection error

DEVICE_CONNECTION_ERROR = "error:\\s*((device \\'\\w+\\' not found)|(cannot connect to daemon at [\\w\\:\\s\\.]+ Connection timed out))"
exception ICmdError(stdout, stderr)[source]

Bases: exceptions.Exception

This is ICmdError BaseError When ICmd have something wrong

exception MinicapError(value)[source]

Bases: airtest.core.error.BaseError

This is MinicapError BaseError When Minicap have something wrong

exception MinitouchError(value)[source]

Bases: airtest.core.error.BaseError

This is MinitouchError BaseError When Minicap have something wrong

exception PerformanceError(value)[source]

Bases: airtest.core.error.BaseError