Could not move the uploaded temp file to the destination path.
The uploaded file extension is not as expected.
Invalid upload key.
The path which the uploaded file should be moved to is not writable.
The custom validating plugin did not validate the upload file.
The uploaded file is bigger than expected.
The uploaded mime-type is not as expected.
The uploading was not successfully done.
string UploadError::msg(const code, string msg)
Returns error message.
UploadError $obj = new UploadError(const code, string msg)
Constructs Exception object.