wallet-cli
wallet-cli copied to clipboard
Add ``context`` to errors
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
implementinganyhow::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