Skip to main content

Module error_mapping

Module error_mapping 

Source
Expand description

Python traceback -> Shape source location mapping.

Structs§

PythonFrame
Parsed representation of a Python traceback frame.

Functions§

format_python_error
Format a Python error with context from the compiled function.
map_python_line_to_shape
Map a Python line number inside __shape_fn__ back to the Shape source line number.
parse_traceback
Parse a Python traceback string into structured frames.