wallet-cli icon indicating copy to clipboard operation
wallet-cli copied to clipboard

Add ``context`` to errors

Open sophielouisefeith opened this issue 2 years ago • 0 comments

Summary

💡 By Providing the user with more specific error context, the reason why the program fails will be more understandable for the non(technical) user(s) Additionally it would help finding bugs more efficiently

Possible solution design or implementation

💡 We've considered the following two options • Gathering information of the error in the main however this is not possible. • Using backtrace this would be to technical to the user. The best possible solution will be
implementing anyhow::context to all errors which are not manually implemented (e.g. wrapped errors such as IO etc).

Additional context

💡 This issue is related to https://github.com/dusk-network/wallet-cli/issues/87

sophielouisefeith avatar Sep 23 '22 11:09 sophielouisefeith