Returns true if the state was marked with a run-time error.
Declared in <consensus/validation.h>
<consensus/validation.h>
bool IsError() const;
true if the state is in the error mode.