Append appends an Error to e.
(list *List, msg string, pos, end int)
| 10 | |
| 11 | // Append appends an Error to e. |
| 12 | func (e *ErrorList) Append(list *List, msg string, pos, end int) { |
| 13 | *e = append(*e, &Error{msg, pos, end, list}) |
| 14 | } |
| 15 | |
| 16 | // Bind takes errors that were created elsewhere (e.g., the service) using |
| 17 | // the list's files and points the errors back at this list. |