Skip to content

Provide a better error message when user typoes rangemap command #689

@ronja-ui

Description

@ronja-ui

Description
The current error message is too vague when user has a typo in query that has rangemap command.

java.lang.IllegalStateException: Parser failure on line 3, column 10 due to mismatched input '<EOF>' expecting COMMAND_RANGEMAP_MODE_FIELD
Please check that the query is written correctly. Otherwise, please report this error and include the query used and this error.

Instead, an error message that tells there's a typo or missing mandatory argument in the query would be more useful.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions