Retrieve the error associated with the uploaded file.
int
Example:
$uploadedFile = new \Shieldon\Psr7\UploadedFile( '/tmp/php200A.tmp', 'example1.jpg', 'image/jpeg', 100000, 0 ); $uploadedFile->getError(); // Outputs: 0
There was an error while loading. Please reload this page.