ExplErr
December 11, 2024 ยท View on GitHub
A Python package that provides LLM-powered exception explanations.
Implemented using APPL.
Installation
pip install explerr
Usage
As a CLI tool
Instead of running your Python script with python, use expython:
expython your_script.py
As a Python package
from explerr import ExceptionWithExplanation
try:
# Your code here
result = 1 / 0
except Exception as e:
raise ExceptionWithExplanation(e)