Error-Handling Functions

AutoCAD AutoLISP & Visual LISP

 
Error-Handling Functions
 
 
 

The following table provides summary descriptions of the AutoLISP error-handling functions.

Error-handling functions

Function

Description

(alertstring)

Displays an alert dialog box with the error or warning message passed as a string

(*error*string)

A user-definable error-handling function

(exit)

Forces the current application to quit

(quit)

Forces the current application to quit

(vl-catch-all-apply 'functionlist)

Passes a list of arguments to a specified function and traps any exceptions

(vl-catch-all-error-message

error-obj)

Returns a string from an error object

(vl-catch-all-error-parg)

Determines whether an argument is an error object returned from vl-catch-all-apply