()
| 18 | type validationError struct{ msg string } |
| 19 | |
| 20 | func (e *validationError) Error() string { return e.msg } |
| 21 | |
| 22 | // NewValidationError formats and returns a validation error. Use this anywhere |
| 23 | // the client sent input we cannot accept; the connect-go handler will surface |
no outgoing calls