type stackTracer interface {
StackTrace() errors.StackTrace
}
err.(stackTracer).StackTrace() // get structured stack trace
If use something fmt.Errorf("%+v", err), but return only text. I have use this library, but cant look good stack trace in sentry and cant write converter/adapter for Error type.
How i can extract stack trace from this library Error type like at https://github.com/pkg/errors library?
If use something
fmt.Errorf("%+v", err)
, but return only text. I have use this library, but cant look good stack trace in sentry and cant write converter/adapter for Error type.