IPythonException

Assembly: Python;

Description

The IPythonException interface describes only exceptions that may occur on executing functions in the Python language.

Inheritance Hierarchy

          IException

          IPythonException

Comments

Exceptions are handled by the standard operator Try…Except…Finally…End Try.

Properties inherited from IException

  Property name Brief description
Line The Line property returns the number of the line, which execution throws an exception.
Message The Message property returns an error message.
MessageID The MessageID property returns the numeric identifier of an error.
NestedException The NestedException property returns the error, which caused the current exception.
Source The Source property returns the information about the error source.

Methods inherited from IException

  Method name Brief description
ReportError The ReportError method displays an error report.

See also:

Python Assembly Interfaces