MobileAutomationException class final

A named mobile automation failure. The tools catch these and return the message as a plain (non-throwing) result the model can react to.

Implemented types

Constructors

MobileAutomationException(String code, String message)
const
MobileAutomationException.offline()
The accessibility service is not connected.
factory
MobileAutomationException.reconsent()
The screen-capture consent token died (reboot kills it).
factory
MobileAutomationException.shizukuNotRunning()
Shizuku is not running (named error, no hang, no generic failure).
factory

Properties

code → String
Machine-readable code (MobileErrorCode).
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human/LLM-readable description with recovery instructions.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited