310
310
case 1: throw "The uploaded file exceeds the max size of " + untyped __call__('ini_get', 'upload_max_filesize');
311
311
case 2: throw "The uploaded file exceeds the max file size directive specified in the HTML form (max is" + untyped __call__('ini_get', 'post_max_size') + ")";
312
312
case 3: throw "The uploaded file was only partially uploaded";
314
314
case 6: throw "Missing a temporary folder";
315
315
case 7: throw "Failed to write file to disk";
316
316
case 8: throw "File upload stopped by extension";