Skip to content

feat: add function to wipe callstack from errors #1816

Open
@vitalyisaev2

Description

@vitalyisaev2

Feature Request

Describe the Feature Request

When printing errors generated by SDK, there is always a huge "tail" consisting of large call stack (see the picture). It would be nice to have a function which will clear the stack from the error, because it's useless for an application user.

Image

Describe Preferred Solution

Something like

func WipeCallStack(err error) error {
 // ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions