Unfortunately the FileUploader and Multiuploader plugins do not throw errors. Instead they throw alerts.
I found a way to hack the alert message to run my own workflow. Thanks for sending the feedback.