pretty_py_line_errors
No overview available.
def pretty_py_line_errors(
line_info: tuple
) - > string
Formats Python traceback line information into a human-readable string for error reporting.
Parameters
| Name | Type | Description |
|---|---|---|
| line_info | tuple | A tuple containing the filename, line number, function name, and text of the source line. |
Returns
| Type | Description |
|---|---|
string | A formatted string containing the file path, line number, and function name where the error occurred. |