code: func InvalidRangeError(ctx string, target interface{}, value interface{}, min bool) error {
  	comp := "greater than or equal to"
  	if !min {
  		comp = "less than or equal to"
  	}
  	msg := fmt.Sprintf("%s must be %s %v but got value %#v", ctx, comp, value, target)
  	return ErrInvalidRequest(msg, "attribute", ctx, "value", target, "comp", comp, "expected", value)
  }
docs: // InvalidRangeError is the error produced when the value of a parameter or payload field does
  // not match the range validation defined in the design. value may be a int or a float64.