-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededinterpreterThis task involves working with an interpreter.This task involves working with an interpreter.
Description
Task
Enhance error handling in the Jam interpreter to provide clearer, more descriptive error messages.
Goal
Improve user experience by ensuring that runtime and syntax errors include:
- The type of error
- The line number (if possible)
- A helpful description of the issue
Suggested Approach
- Review places in the interpreter where exceptions are raised.
- Wrap error-prone blocks with try/except and provide detailed error messages.
- Standardize error outputs for consistency.
Requirements
- Knowledge of Python exception handling.
- Understanding of interpreter structure.
Difficulty
Intermediate
Bonus
- Add unit tests that deliberately trigger these errors to ensure messages are clear.
If you're new to open source, check out our Contributing Guide in the repository. Feel free to ask questions in our Discord: https://discord.gg/GgB8hbvR
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededinterpreterThis task involves working with an interpreter.This task involves working with an interpreter.