cargo-msrv icon indicating copy to clipboard operation
cargo-msrv copied to clipboard

Investigate: what should user focused error handling look like

Open foresterre opened this issue 3 years ago • 0 comments

  • What is important in an error
  • How can we help a user solve an error, caused by the user or the users platform
  • Can we report and differentiate errors which are likely bugs caused by cargo-msrv
  • Can we help the user prepare a bug report?
  • How can we visually display nice and usable error messages

Error handling libraries

  • Ariadne: https://github.com/zesterer/ariadne
  • Anyhow and thiserror: https://github.com/dtolnay/anyhow and https://github.com/dtolnay/thiserror
  • Eyre: https://github.com/yaahc/eyre
  • Miette: https://github.com/zkat/miette

foresterre avatar Nov 14 '21 22:11 foresterre