Skip to content

Instantly share code, notes, and snippets.

@ddelponte
Created April 30, 2013 12:07
Show Gist options
  • Save ddelponte/5488305 to your computer and use it in GitHub Desktop.
Save ddelponte/5488305 to your computer and use it in GitHub Desktop.
How to get the error message from a ValidationException
def errorMessages = ex.errors.collect { g.message(error:it) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment