errorx
errorx copied to clipboard
Structured stack trace
How i can extract stack trace from this library Error type like at https://github.com/pkg/errors library?
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.
We should add this feature, yes, thank you. There isn't, at the moment.