Shortcut for the trace function for Result>Error (defaults to Type::ERROR)
Takes a result, and if it is in error, traces it.
Does nothing if the result is OK.
This only makes sense if you want to receive the error information for debugging.
Works like HTrace!()
Can be used like this:
Define a context for subtrace
Use a “short” lived “Span” that crate a context en delete it when “Span” drop
You can set a context (see “Context”) like this :