Python > Python Assembly Interfaces > IPythonException
Assembly: Python;
Namespace: Prognoz.Platform.Interop.Python;
The IPythonException interface describes only exceptions that may occur on executing functions in the Python language.
IPythonException
Exceptions are handled by the standard operator Try…Except…Finally…End Try.
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. |
Method name | Brief description | |
![]() |
ReportError | The ReportError method displays an error report. |
See also: