pub(crate) const ST_FAILED: u8 = 3;
start_state: the last run ended in error (startup or mid-run); last_error says why.
start_state
last_error