#include <cpython.h>
A PythonTracebackError is always part of an AgrregatedError which is further the cause in a PythonError. This error is never a top-level error. Contains information about the traceback if an exception.
Public Member Functions | |
MAXON_METHOD void | SetUrl (const Url &url) |
MAXON_METHOD const Url & | GetUrl () const |
MAXON_METHOD void | SetLineNumber (Int line) |
MAXON_METHOD Int | GetLineNumber () const |
Private Member Functions | |
MAXON_INTERFACE (PythonTracebackErrorInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxon.python.interface.pythontracebackerror") | |
|
private |
MAXON_METHOD void SetUrl | ( | const Url & | url | ) |
Sets the url of the traceback entry.
[in] | url | Path. |
MAXON_METHOD const Url& GetUrl | ( | ) | const |
Returns the path of the traceback entry.
MAXON_METHOD void SetLineNumber | ( | Int | line | ) |
Sets the line of the traceback entry.
[in] | line | Line number. |
MAXON_METHOD Int GetLineNumber | ( | ) | const |
Returns line of the traceback entry.