| 8 | ) |
| 9 | |
| 10 | type ErrorContext struct { |
| 11 | prefix string |
| 12 | statusCode int |
| 13 | publicMsg string |
| 14 | shouldReport bool |
| 15 | docsUrl string |
| 16 | |
| 17 | stack []uintptr |
| 18 | } |
| 19 | |
| 20 | func newErrorContext(stackSkip int, opts ...Option) *ErrorContext { |
| 21 | ec := &ErrorContext{ |
nothing calls this directly
no outgoing calls
no test coverage detected