(option string, message string, args ...interface{})
| 7 | ) |
| 8 | |
| 9 | func newError(option string, message string, args ...interface{}) error { |
| 10 | return &configError{ |
| 11 | message: fmt.Sprintf(message, args...), |
| 12 | optionPath: []string{option}, |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | func wrapWithMessage(err error, option string, message string, args ...interface{}) error { |
| 17 | if err == nil { |
no outgoing calls
no test coverage detected