Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Structured stack trace #27

@njspok

Description

@njspok

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions