errorf formats the error and terminates processing.
(format string, args ...interface{})
| 216 | |
| 217 | // errorf formats the error and terminates processing. |
| 218 | func (t *tree) errorf(format string, args ...interface{}) { |
| 219 | panic(fmt.Sprintf(format, args...)) |
| 220 | } |
| 221 | |
| 222 | // error terminates processing. |
| 223 | func (t *tree) error(err error) { |