use eldoc to manage doc system
Catch errors for eldoc