IErrorItem

class IErrorItem

Bases: ImpactCOMWrapperBase

Summary:

Represents an error that occured.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property code

Gets Code.

Summary:

Gets the error code of the error.

Returns:

The value of Code.

Return type:

code (int)

property description

Gets Description.

Summary:

Gets the description of the error.

Returns:

The value of Description.

Return type:

description (str)

property guid

Gets GUID.

Summary:

Gets the GUID of the object the error applies to.

Returns:

The value of GUID.

Return type:

guid (any)

property help_context

Gets help_context.

Summary:

Gets the help context (if any) of the error.

Returns:

The value of help_context.

Return type:

help_context (int)

property help_file

Gets help_file.

Summary:

Gets the help file (if any) of the error.

Returns:

The value of help_file.

Return type:

help_file (str)

property source

Gets Source.

Summary:

Gets the source information that generated the error.

Returns:

The value of Source.

Return type:

source (str)

isNone()

Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.