updated doc for clear-errors