Generates a user-friendly error message when file upload limit is exceeded.
The maximum number of files allowed
The current number of files uploaded
A formatted error message string
Generates a user-friendly error message when file upload limit is exceeded.