original_string: public function setError($errorCode = null, $message = null):ErrorResponseBuilder
      {
          $this->errorCode = $errorCode;
  
          if (is_array($message)) {
              $this->parameters = $message;
          } else {
              $this->message = $message;
          }
  
          return $this;
      }
code: public function setError($errorCode = null, $message = null):ErrorResponseBuilder
      {
          $this->errorCode = $errorCode;
  
          if (is_array($message)) {
              $this->parameters = $message;
          } else {
              $this->message = $message;
          }
  
          return $this;
      }
code_tokens: public function setError ( $ errorCode = null , $ message = null ) : ErrorResponseBuilder { $ this -> errorCode = $ errorCode ; if ( is_array ( $ message ) ) { $ this -> parameters = $ message ; } else { $ this -> message = $ message ; } return $ this ; }
docstring: Set the error code and optionally an error message.
  
  @param  mixed|null       $errorCode
  @param  string|array|null $message
  @return self
docstring_tokens: Set the error code and optionally an error message .