refactor: exit with AndroidShellExecError code for adb shell failure

This commit is contained in:
lilong.129
2023-05-04 00:15:02 +08:00
parent 87cba44164
commit 247f6b9975
6 changed files with 34 additions and 16 deletions

View File

@@ -63,7 +63,7 @@ var (
var (
AndroidDeviceConnectionError = errors.New("android device connection error") // 60
AndroidDeviceUSBDriverError = errors.New("android device USB driver error") // 61
AndroidShellExecError = errors.New("android shell exec error") // 62
AndroidShellExecError = errors.New("android adb shell exec error") // 62
AndroidScreenShotError = errors.New("android screenshot error") // 65
AndroidCaptureLogError = errors.New("android capture log error") // 66
)