Both standard buttons for file processing (tg-file-upload-paper[-icon]-buttons) may end-up with Unexpected Error Occurred during file opening for following errors:
File uploading is in progress...
File list contains 2 files. Exactly one file is expected for upload.
The maximum upload size is exceeded.
Uploading of empty files is prohibited.
It is better to handle these errors gracefully, i.e. to show actual error to the user.
Expected outcome
Initial file processing errors showing to the user, instead of being unexpected.
Description
Both standard buttons for file processing (
tg-file-upload-paper[-icon]-button
s) may end-up withUnexpected Error Occurred
during file opening for following errors:It is better to handle these errors gracefully, i.e. to show actual error to the user.
Expected outcome
Initial file processing errors showing to the user, instead of being unexpected.