MCPcopy Index your code
hub / github.com/bracesdev/errtrace / wrapCustomTrace

Function wrapCustomTrace

unwrap_test.go:83–88  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

81}
82
83func wrapCustomTrace(err error) error {
84 return &customTraceError{
85 err: err,
86 pc: reflect.ValueOf(wrapCustomTrace).Pointer(),
87 }
88}
89
90func (e *customTraceError) Error() string {
91 return e.err.Error()

Callers 1

TestUnwrapFrameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected