handle state_machine errors (in errors)