Better propagation of underlying errors #458
Labels
feat
New feature or request.
good first issue
A good issue to tackle when being a novice to the project.
help wanted
We are looking for help on this one.
Milestone
In
client_authentication.go
there is code like:This means that all the information about the
err
(stack trace, other wrapped errors) is lost at that point. CouldRFC6749Error
implementWithError
andUnwrap
to allow chaining errors? So then the above would be:External facing nothing would change, but if you inspect returned error, you would have access to the underlying wrapped error using (now) standard error wrapping.
The text was updated successfully, but these errors were encountered: