added doc string for clear-errors