code: func incompatibleAttributeType(validation, actual, expected string) {
  	dslengine.ReportError("invalid %s validation definition: attribute must be %s (but type is %s)",
  		validation, expected, actual)
  }
docs: // incompatibleAttributeType reports an error for validations defined on
  // incompatible attributes (e.g. max value on string).