original_string: protected function setError($errorStatus)
      {
          # error status
          if (! is_int($errorStatus)
              || 0 > $errorStatus
              || 8 < $errorStatus
          )
              throw new \InvalidArgumentException(
                  'Invalid error status for UploadedFile; must be an UPLOAD_ERR_* constant'
              );
  
          $this->error = $errorStatus;
          return $this;
      }
code: protected function setError($errorStatus)
      {
          # error status
          if (! is_int($errorStatus)
              || 0 > $errorStatus
              || 8 < $errorStatus
          )
              throw new \InvalidArgumentException(
                  'Invalid error status for UploadedFile; must be an UPLOAD_ERR_* constant'
              );
  
          $this->error = $errorStatus;
          return $this;
      }
code_tokens: protected function setError ( $ errorStatus ) { # error status if ( ! is_int ( $ errorStatus ) || 0 > $ errorStatus || 8 < $ errorStatus ) throw new \ InvalidArgumentException ( 'Invalid error status for UploadedFile; must be an UPLOAD_ERR_* constant' ) ; $ this -> error = $ errorStatus ; return $ this ; }
docstring: Set Error Status Code
  
  @param int $errorStatus
  
  @return $this
docstring_tokens: Set Error Status Code