Determines whether an argument is an error object returned from vl-catch-all-apply
(vl-catch-all-error-p arg)
T, if the supplied argument is an error object returned from vl-catch-all-apply; otherwise nil.
Divide by zero using vl-catch-all-apply:
_$ (setq catchit (vl-catch-all-apply '/ '(50 0)))
#<%catch-all-apply-error%>
Use vl-catch-all-error-p to determine if the value returned by vl-catch-all-apply is an error object:
_$ (vl-catch-all-error-p catchit)
T
See Also
-
The *error*, vl-catch-all-apply, and vl-catch-all-error-message functions. The
Error Handling in AutoLISP topic in the AutoLISP Developer's Guide.