You can find a comprehensive listing of AutoLISP error codes in the AutoCAD help system. Here are instructions for finding the error codes.
1. In AutoCAD, choose Help > AutoCAD Help Topics from the menubar
2. Click on the Contents tab of the Help Topics dialog box, then double click on Customization Guide
3. Double click on Part II - AutoLISP Reference
4. Double click on Chapter 16 - AutoLISP Error Codes and Error Messages
You will see the following list of topics to choose from:
Overview: AutoLISP Error Codes and Error Messages
Error Codes
Error Messages
Double click on the topic you are interested in