By default, each document namespace is provided with its own *error* function, which is defined as follows:
(defun *error* (msg)
(princ "error: ")
(princ msg)
(princ)
)
A VLX application running within a document namespace shares the default error-handler function. You may want to add error-handling logic to your application.