Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Handling for Integer Type #11

Open
3 tasks
kh3rld opened this issue Nov 12, 2024 · 0 comments
Open
3 tasks

Error Handling for Integer Type #11

kh3rld opened this issue Nov 12, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kh3rld
Copy link
Member

kh3rld commented Nov 12, 2024

Implement robust error handling for the int type, covering invalid literals, overflow, and unsupported operations.

Tasks:

  • Add checks for overflow and other potential errors in integer operations.
  • Update parser and interpreter to return clear error messages for invalid integer values or unsupported operations.
  • Write unit tests for each error scenario.

Acceptance Criteria:

  • Clear and descriptive error messages are displayed for each type of error.
  • All error scenarios are covered by tests.
@kh3rld kh3rld added enhancement New feature or request good first issue Good for newcomers labels Nov 12, 2024
@kh3rld kh3rld self-assigned this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant