(msg string)
| 19 | } |
| 20 | |
| 21 | func WithPublicMessage(msg string) Option { |
| 22 | return func(ec *ErrorContext) { |
| 23 | ec.publicMsg = msg |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | func WithShouldReport(report bool) Option { |
| 28 | return func(ec *ErrorContext) { |
no outgoing calls
no test coverage detected