Error spotting in human-machine interaction