Traceback¶
- class pyto_runtime.Traceback¶
A serialized traceback.
- property as_text: str¶
The stack trace as a string.
- property end_offset: int¶
If
SyntaxError, the end position of the concerned code.
- property exc_type: str¶
A string describing the type of the exception.
- property msg: str¶
The receiver’s message string.
- property name¶
If
AttributeErrororNameError, the name that caused the error.
- property offset: int¶
If
SyntaxError, the beggining start position of the concerned code.
- property stack: list[Frame]¶
A pre-loaded list containing every frame serialized as
pyto_runtime.Frameobjects.
- property suggestion¶
If
AttributeErrororNameError, a suggestion to fix the error.