[V3] Adds a helper for displaying validation error messages

rebased #484.