Seems to me that most APIs will assign unique error codes to each potential validation error, in addition to human-readable messages. Before considering a PR, I wonder what the consensus on adding the ability to add a 'code' property to each field constraint would be?