public string function getError( required string fieldName )
Returns the error message for a given field.