original_string: protected function fail($error = '')
      {
          $this->isFinished = true;
          $this->isSuccess = false;
          $this->error = $error;
      }
code: protected function fail($error = '')
      {
          $this->isFinished = true;
          $this->isSuccess = false;
          $this->error = $error;
      }
code_tokens: protected function fail ( $ error = '' ) { $ this -> isFinished = true ; $ this -> isSuccess = false ; $ this -> error = $ error ; }
docstring: Marks the flow as failed and sets the error message.
  
  @param string $error
docstring_tokens: Marks the flow as failed and sets the error message .