MCPcopy Create free account
hub / github.com/apache/fory / reverseStackString

Method reverseStackString

go/fory/errors.go:113–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111}
112
113func (e Error) reverseStackString() string {
114 if len(e.stack) == 0 {
115 return ""
116 }
117 var b strings.Builder
118 for i := len(e.stack) - 1; i >= 0; i-- {
119 b.WriteString(e.stack[i])
120 }
121 return b.String()
122}
123
124// Error implements the error interface with lazy formatting
125func (e Error) Error() string {

Callers 1

ErrorMethod · 0.95

Calls 2

WriteStringMethod · 0.45
StringMethod · 0.45

Tested by

no test coverage detected