EOFErr returns an error indicating that the dispenser reached the end of the input when searching for the next token.
()
| 422 | // EOFErr returns an error indicating that the dispenser reached |
| 423 | // the end of the input when searching for the next token. |
| 424 | func (d *Dispenser) EOFErr() error { |
| 425 | return d.Errf("unexpected EOF") |
| 426 | } |
| 427 | |
| 428 | // Err generates a custom parse-time error with a message of msg. |
| 429 | func (d *Dispenser) Err(msg string) error { |