error in autolisp routine

How can I found where's the error in my lisp fileit's run, but at the end appears :error lentityp !