ErrorInfo Class¶
-
class
NXOpen.
ErrorInfo
¶ Bases:
NXOpen.TransientObject
Contains information about an error that occurred
New in version NX3.0.0.
Properties¶
Property | Description |
---|---|
Description | Returns a description of the error |
ErrorCode | Returns a number that represents what error occurred |
ErrorObject | Returns the object for which the error occurred. |
ErrorObjectDescription | Returns a description of the object for which the error occurred |
Property Detail¶
Description¶
-
ErrorInfo.
Description
¶ Returns a description of the error
-------------------------------------
Getter Method
Signature
Description()
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
ErrorCode¶
-
ErrorInfo.
ErrorCode
¶ Returns a number that represents what error occurred
-------------------------------------
Getter Method
Signature
ErrorCode()
Returns: Return type: int New in version NX3.0.0.
License requirements: None.
ErrorObject¶
-
ErrorInfo.
ErrorObject
¶ Returns the object for which the error occurred.
This may be None if the object was deleted.
Note: if the object was deleted,
ErrorObjectDescription()
may be used to obtain a description of the object.-------------------------------------
Getter Method
Signature
ErrorObject()
Returns: Return type: NXOpen.NXObject
New in version NX3.0.0.
License requirements: None.