()
| 43 | } |
| 44 | |
| 45 | func (ec *ErrorContext) PublicMessage() string { |
| 46 | if len(ec.publicMsg) == 0 { |
| 47 | return "Internal error" |
| 48 | } |
| 49 | |
| 50 | return ec.publicMsg |
| 51 | } |
| 52 | |
| 53 | func (ec *ErrorContext) ShouldReport() bool { |
| 54 | return ec.shouldReport |
nothing calls this directly
no outgoing calls
no test coverage detected