feat: add MobileUIPopupError code

This commit is contained in:
lilong.129
2023-05-04 00:23:14 +08:00
parent 247f6b9975
commit 0d8d53d431
2 changed files with 7 additions and 3 deletions

View File

@@ -74,6 +74,7 @@ var (
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
MobileUIPopupError = errors.New("mobile UI popup error") // 77
)
// OCR related: [80, 90)
@@ -135,6 +136,7 @@ var errorsMap = map[error]int{
MobileUILaunchAppError: 71,
MobileUIValidationError: 75,
MobileUIAppNotInForegroundError: 76,
MobileUIPopupError: 77,
// OCR related
OCREnvMissedError: 80,