Error variants should contain more information about where they came from, even if it's redundant, sometimes crate users use the try operator '?' raising the error up to the main function, it then gets printed out, losing context on where it came from.
Adding more context and better messages will considerably improve debugging.
Error variants should contain more information about where they came from, even if it's redundant, sometimes crate users use the try operator
'?'
raising the error up to themain
function, it then gets printed out, losing context on where it came from.Adding more context and better messages will considerably improve debugging.