update doc txt files; add catchError