make a stub to not import pkg/errors
| 159 | |
| 160 | // make a stub to not import pkg/errors |
| 161 | type ErrorWithFormat struct { |
| 162 | error |
| 163 | } |
| 164 | |
| 165 | func NewErrorWithFormat(m string) *ErrorWithFormat { |
| 166 | return &ErrorWithFormat{error: errors.New(m)} |
nothing calls this directly
no outgoing calls
no test coverage detected