vl-catch-all-error-p
 
 
 

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

(vl-catch-all-error-p arg)

Arguments

arg

Any argument.

Return Values

T, if the supplied argument is an error object returned from vl-catch-all-apply; otherwise nil.

Examples

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