Skip to content

Conversation

@meshde
Copy link
Owner

@meshde meshde commented May 11, 2025

  • the user would only see errors that were raised as CliError
  • every other error would be a panic
  • panics are also no longer displayed to users, rather human_panic
    displays how to report the issue.

human_panic error message:
Screenshot 2025-05-11 at 8 36 14 AM

sample error report file:
report-8811732f-8791-4a5a-b1a9-71a56144004b.txt

meshde added 2 commits May 11, 2025 07:51
* the user would only see errors that were raised as CliError
* every other error would be a panic
* panics are also no longer displayed to users, rather human_panic
  displays how to report the issue.
@meshde meshde changed the title 20 need better error handling feat: add error handling framework May 11, 2025
@meshde meshde merged commit 9bb8339 into master May 11, 2025
1 check passed
@meshde meshde mentioned this pull request May 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants