ErrorInfo Class¶
-
class
NXOpen.ErrorInfo¶ Bases:
NXOpen.TransientObjectContains 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
DescriptionReturns: 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
ErrorCodeReturns: 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
ErrorObjectReturns: Return type: NXOpen.NXObjectNew in version NX3.0.0.
License requirements: None.