feat: add code MobileUILaunchAppError

This commit is contained in:
lilong.129
2023-04-25 15:51:38 +08:00
parent f9a488c7e7
commit f9bebf7202
3 changed files with 16 additions and 6 deletions

View File

@@ -68,6 +68,7 @@ var (
// UI automation related: [70, 80)
var (
MobileUIDriverError = errors.New("mobile UI driver error") // 70
MobileUILaunchAppError = errors.New("mobile UI launch app error") // 71
MobileUIValidationError = errors.New("mobile UI validation error") // 75
MobileUIAppNotInForegroundError = errors.New("mobile UI app not in foreground error") // 76
)
@@ -125,6 +126,7 @@ var errorsMap = map[error]int{
// UI automation related
MobileUIDriverError: 70,
MobileUILaunchAppError: 71,
MobileUIValidationError: 75,
MobileUIAppNotInForegroundError: 76,