Add captureEvents func + new error types + methods

This commit is contained in:
2022-07-27 02:13:35 -07:00
parent 72edfb6fd3
commit d17e55a04f
2 changed files with 112 additions and 21 deletions

View File

@@ -7,7 +7,8 @@ import (
var (
// When an execution should have data but has none, but the exact error is
// indeterminite, this error is returned
ErrStdoutEmpty = errors.New("stdout expected to contain data but was empty")
ErrNotInstalled = errors.New("adb is not installed or not in PATH")
ErrUnspecified = errors.New("an unknown error has occurred, please open an issue on GitHub")
ErrStdoutEmpty = errors.New("stdout expected to contain data but was empty")
ErrNotInstalled = errors.New("adb is not installed or not in PATH")
ErrCoordinatesNotFound = errors.New("coordinates for an input event are missing")
ErrUnspecified = errors.New("an unknown error has occurred, please open an issue on GitHub")
)