Fail on state machine errors