Open sunmy2019 opened 4 months ago
Feature Proposed
I want to improve the quality of error messages and reduce the use of panic.
unwrap()
anyhow::Error
expect(...)
Use Case This would increase its usability as a library and convey clearer messages to the users.
Known pitfalls potentially increase binary size
Feature Proposed
I want to improve the quality of error messages and reduce the use of panic.
unwrap()
to returnanyhow::Error
with informative contexts.unwrap()
toexpect(...)
for deadly scenarios.unwrap()
when it can be proved with pattern matching.Use Case This would increase its usability as a library and convey clearer messages to the users.
Known pitfalls potentially increase binary size