AppDeath
A crash or ANR of an app on the device, as Android logged it and the host server recorded it (Device.appDeaths, CommandException.appDeath, AppDiedException).
Only watched deaths (watched) explain command failures, end waits and fail tests: deaths of an app started through this attachment (launch, coldLaunch, foreground, openLink) or named by a command's selector (anything inside device.app(pkg)), from then on.
Constructors
Properties
A crash's exception class (java.lang.IllegalStateException, or Native crash); empty for an ANR.
Whether a client already has it: a command's error carried it, or a Device.guard, Device.allowDeaths, Device.expectDeath block or an end-of-test check took it. A handled death explains no later failure, ends no wait and fails no test.
The process: packageName or packageName:suffix.
A crash's stack trace from the crash buffer (at most 32 KiB); empty when it scrolled out, and for an ANR.