Hi guys,
I'm working with Upload class ...
If I got an error during upload ( with an error like 102 ) and I would use upload error CONST name for convenience ( for example : a message using translations )
There's a best way to retrieve the error constant name by error code??
I'm planning to build this into the Upload class, so you don't have to.
But in the end the code is going to be the same: a foreach over the files array, and a switch/case to deal with all error codes.