title: Custom validation error message if user puts a non-numeric string in an int field
body: <p>This question has to have been asked before, but I think the search terms are too generic for me to find the answer I'm looking for, so I'll ask it again.</p>
  
  <p>I have a model with an <code>int</code> property, and a range annotation.</p>
  
  <p>If the user enters something other than an int, the validation message responds with <code>The value '&lt;bad data&gt;' is not valid for '&lt;property name&gt;'</code>... which is great, but I want to provide a bit more feedback, i.e., <code>Expecting an integer value in this field.</code>.</p>
  
  <p>Since this validation fails before the other validators take a look, I don't know how (or if it's possible) to override the default validator message for this.</p>
  
  <p>What are my options?</p>
  
  <p>per request, I am posting the code, but there's not a lot to it:</p>
  
  <pre><code>[Range(0,65535, ErrorMessage="Port must be between 0 and 65535.")] 
  public int Port { get; set; }
  </code></pre>
  
  <p>There is validation that occurs before it reaches the RangeAttribute.  I want to replace the default message with one of my own choosing.</p>