function InputStreamUploadedFile::getError
Returns the upload error code.
If the upload was successful, the constant UPLOAD_ERR_OK is returned. Otherwise, one of the other UPLOAD_ERR_XXX constants is returned.
Return value
int The upload error code.
Overrides UploadedFileInterface::getError
File
- 
              core/modules/ file/ src/ Upload/ InputStreamUploadedFile.php, line 76 
Class
- InputStreamUploadedFile
- An uploaded file from an input stream.
Namespace
Drupal\file\UploadCode
public function getError() : int {
  throw new \BadMethodCallException(__METHOD__ . ' not implemented');
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
