()
| 111 | } |
| 112 | |
| 113 | func (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 |
| 125 | func (e Error) Error() string { |
no test coverage detected