original_string: protected function send_error($ex = null) {
          $this->response = $this->generate_error($ex);
          $this->send_headers();
          echo $this->response;
      }
code: protected function send_error($ex = null) {
          $this->response = $this->generate_error($ex);
          $this->send_headers();
          echo $this->response;
      }
code_tokens: protected function send_error ( $ ex = null ) { $ this -> response = $ this -> generate_error ( $ ex ) ; $ this -> send_headers ( ) ; echo $ this -> response ; }
docstring: Send the error information to the WS client.
  
  @param Exception $ex
docstring_tokens: Send the error information to the WS client .