code: func (v *Error) ErrorBody() string {
  	var s string
  	switch v.Type {
  	case ErrorTypeRequired, ErrorTypeForbidden, ErrorTypeTooLong, ErrorTypeInternal:
  		s = fmt.Sprintf("%s", v.Type)
  	default:
  		var bad string
  		badBytes, err := json.Marshal(v.BadValue)
  		if err != nil {
  			bad = err.Error()
  		} else {
  			bad = string(badBytes)
  		}
  		s = fmt.Sprintf("%s: %s", v.Type, bad)
  	}
  	if len(v.Detail) != 0 {
  		s += fmt.Sprintf(": %s", v.Detail)
  	}
  	return s
  }
docs: // ErrorBody returns the error message without the field name.  This is useful
  // for building nice-looking higher-level error reporting.