rust-cli / rust-cli/human-panic
Custom error message
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.9k
- Forks
- 65
- Avg merge
- 2h 48m
- Merged PRs (30d)
- 3
Description
Would it be possible to set a custom error message?
Perhaps a project could have a text file or config file that it passes as a string to human-panic's sourcing of its text.
This would also fix https://github.com/rust-clique/human-panic/issues/7#issuecomment-383035397.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing human-panic's current sourcing of its text and inspect how a project could provide a string from a text or config file. Review the discussion linked from issue 7 for the related requirement. Done means projects can supply a custom error message and the existing panic output uses it correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100