title: Displaying Grails Field Errors
body: <p>Does anybody know how I could get the <code>fieldError</code> to print out in the example below.</p>
  
  <p>for each item with an error, I would like to print custom error messages that I have defined in the messages.properties file</p>
  
  <p>at the moment all this does is print the default error codes</p>
  
  <pre><code>item.errors?.allErrors?.each{ 
    println it.toString() 
  }
  </code></pre>
  
  <p>I have seen other examples where you can lookup an error code for a field e.g.</p>
  
  <pre><code>it.getFieldError('title').code
  </code></pre>
  
  <p>but I would like to convert the default message into my new error message and print that.</p>