enhance upload error messages
merged branch erikaheidi/enhance_upload_errors (PR #7785)

This PR was merged into the master branch.

Discussion
----------

[HttpFoundation] [File] enhance upload error messages

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

TODO
- [ ] update DOCS ?

It just adds more informative error messages when theres an upload error.

Commits
-------

fde044c enhance upload error messages
[HttpFoundation] fixed CS for previous merge