ErrorStack.LastErrCode property

AutoCAD Map 3D ActiveX

ErrorStack.LastErrCode property

Read Only

LastErrCode As EErrCode

Returns the error number of the latest error that was pushed to the stack by AutoCAD Map.

Read this value immediately after the error occurs. This value is valid only after calling the method or using the property that caused the error.

For a list of error codes by number, click .

For a list of error codes alphabetically by name, see the object browser in the VBA editor. Each name entry in the object browser includes the corresponding number.