Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

What is the reason behind stacktrace being private? #66

@m0sth8

Description

@m0sth8

According to errors pkg documentation to retrieve the stack trace of an error or wrapper I should try to use interface:

type stackTracer interface { StackTrace() errors.StackTrace }

The stackTracer interface is private. Does it mean, that you don't want it to be an API for errrors library and it can change its behaviour?

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