Open
Description
If a test fails, for example because a context is used wrongly, there's almost no information available to debug, and you have to go through error unwrapping and checking in order to get to a usable stacktrace.
The usual solution is to implement a Format
function on errors that prints more information when formatted using %+v
. Functions like require.NoError
also use this, so if there is a verbose version then that will be printed.