Skip to content

[Enhancement]: Better error handling #24

@pirafrank

Description

@pirafrank

Current feature

Add improved error handling to the Rust CLI tool to provide clearer, more actionable feedback to users and developers. Instead of generic panic messages or silent failures, errors should be categorized (e.g., I/O, network, config parsing), surfaced with descriptive messages, and optionally include contextual hints or suggestions.

Enhancement description

This can be achieved using crates like anyhow or thiserror for structured error propagation and consistent formatting. Enhanced error reporting will improve usability, simplify debugging, and make the tool more resilient in real-world usage scenarios.

Benefits

More maintainable and readable code and separation of responsibilities (e.g. handling process exit codes at proper level, handle exception correctly, etc.)

Platform info

n/a

Additional info

n/a

Is this issue already reported?

  • I have searched the existing issues and this has not been reported yet

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

enhancementSuggestion of an improvement of an existing feature or functionalityin progressThe issue is being worked on

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions