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

[Bug]Range error instead of specific error messages #74

Open
sommye-ctr opened this issue Jan 5, 2025 · 0 comments · May be fixed by #75
Open

[Bug]Range error instead of specific error messages #74

sommye-ctr opened this issue Jan 5, 2025 · 0 comments · May be fixed by #75
Assignees
Labels
easy This is an easy issue worth 15 points.

Comments

@sommye-ctr
Copy link
Collaborator

Describe the bug
Currently when a user does not provide suitable arguments along with statements, a range error is thrown instead of specific errors written in prompt_chart.dart - lib.

To Reproduce
Steps to reproduce the behavior (following is one of many examples)

  1. Start the app
  2. Enter 'display-messages'
  3. See error - range error (but the error should have been "Please enter a valid command" as implemented in prompt_chart.dart lib)

Expected behavior
The specific errors should be thrown with an explanatory message.

@sommye-ctr sommye-ctr linked a pull request Jan 5, 2025 that will close this issue
1 task
@Palakfs Palakfs added the easy This is an easy issue worth 15 points. label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy This is an easy issue worth 15 points.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants