(msg string, f ...interface{})
| 583 | return e.msg |
| 584 | } |
| 585 | func newUserError(msg string, f ...interface{}) error { |
| 586 | return &UserError{fmt.Sprintf(msg, f...), ""} |
| 587 | } |
| 588 | |
| 589 | // LanguageError records an error with the doc string. |
| 590 | type LanguageError struct { |