A Python package that provides LLM-powered exception explanations.
Implemented using APPL.
pip install explerr
Instead of running your Python script with python
, use expython
:
expython your_script.py
from explerr import ExceptionWithExplanation
try:
# Your code here
result = 1 / 0
except Exception as e:
raise ExceptionWithExplanation(e)