Redundant error messages #4

Closed
opened 2023-08-22 20:56:13 -07:00 by aniva · 1 comment
Owner

When the command is not known, the REPL gives this error:

-- Pantograph.lean

    let error: Commands.InteractionError :=
      { error := "unknown", desc := s!"Unknown command {cmd}" }

This should be classified as a parsing error so we do not create more error categories

When the command is not known, the REPL gives this error: ```lean -- Pantograph.lean let error: Commands.InteractionError := { error := "unknown", desc := s!"Unknown command {cmd}" } ``` This should be classified as a parsing error so we do not create more error categories
aniva added this to the 0.2.6 milestone 2023-08-22 20:56:13 -07:00
aniva added the
category
doc
label 2023-08-22 20:56:13 -07:00
aniva self-assigned this 2023-08-22 20:56:13 -07:00
aniva added reference misc/cleanup 2023-08-23 13:15:21 -07:00
Author
Owner

This error category and json error have been consolidated into one command error, used to indicate an error that makes it impossible to proceed to any individual command function.

This error category and `json` error have been consolidated into one `command` error, used to indicate an error that makes it impossible to proceed to any individual command function.
aniva closed this issue 2023-08-23 13:22:30 -07:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: aniva/Pantograph#4
No description provided.