pub enum ComputerError {
Show 16 variants
InvalidArguments(String),
ExecutionFailed(String),
Io(Error),
Unsupported(String),
AppNotFound(String),
WindowNotFound(String),
ElementNotFound(String),
StaleElement(String),
PermissionRequired(String),
PolicyDenied(String),
ConfirmRequired(String),
ConfirmDenied(String),
BlockedUrl(String),
Paused(String),
CdpUnavailable(String),
DisplayUnavailable(String),
}Expand description
Failure from argument checking or desktop automation.
Variants§
InvalidArguments(String)
The action or flag value cannot be used.
ExecutionFailed(String)
The operating system or a backend call failed.
Io(Error)
A filesystem or process call failed.
Unsupported(String)
The platform does not implement this operation.
AppNotFound(String)
No running app matched the name, bundle id, or pid.
WindowNotFound(String)
The app resolved, but the window did not.
ElementNotFound(String)
The element index is missing from the fresh tree.
StaleElement(String)
The element index exists, but its role, identifier, or frame changed.
PermissionRequired(String)
Accessibility or Screen Recording permission is off.
PolicyDenied(String)
A built-in or configured policy refused the action.
ConfirmRequired(String)
A sensitive action needs a confirm hook and none is configured.
ConfirmDenied(String)
The confirm hook exited non-zero or timed out.
BlockedUrl(String)
A browser URL matched the block list.
Paused(String)
Local user input tripped the kill switch.
Chrome DevTools is not enabled or no debugging port is open.
The screen is locked, asleep, or no display is attached.
Implementations§
Trait Implementations§
Source§impl Debug for ComputerError
impl Debug for ComputerError
Source§impl Display for ComputerError
impl Display for ComputerError
Source§impl Error for ComputerError
impl Error for ComputerError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()