Errorf generates an error and appends the current line information.
(delta int64, msg string, args ...interface{})
| 138 | |
| 139 | // Errorf generates an error and appends the current line information. |
| 140 | func (p *parser) Errorf(delta int64, msg string, args ...interface{}) error { |
| 141 | return fmt.Errorf("gitdiff: line %d: %s", p.lineno+delta, fmt.Sprintf(msg, args...)) |
| 142 | } |
no outgoing calls