original_string: public function handleError($event)
      {
          $event->handled = true;
          $message = $event->message;
          if (YII_DEBUG) {
              $trace = debug_backtrace();
              if (isset($trace[2]) && isset($trace[2]['file']) && isset($trace[2]['line'])) {
                  $message .= ' (' . $trace[2]['file'] . ':' . $trace[2]['line'] . ')';
              }
          }
          throw new \Exception($message, self::SOAP_ERROR);
      }
code: public function handleError($event)
      {
          $event->handled = true;
          $message = $event->message;
          if (YII_DEBUG) {
              $trace = debug_backtrace();
              if (isset($trace[2]) && isset($trace[2]['file']) && isset($trace[2]['line'])) {
                  $message .= ' (' . $trace[2]['file'] . ':' . $trace[2]['line'] . ')';
              }
          }
          throw new \Exception($message, self::SOAP_ERROR);
      }
code_tokens: public function handleError ( $ event ) { $ event -> handled = true ; $ message = $ event -> message ; if ( YII_DEBUG ) { $ trace = debug_backtrace ( ) ; if ( isset ( $ trace [ 2 ] ) && isset ( $ trace [ 2 ] [ 'file' ] ) && isset ( $ trace [ 2 ] [ 'line' ] ) ) { $ message .= ' (' . $ trace [ 2 ] [ 'file' ] . ':' . $ trace [ 2 ] [ 'line' ] . ')' ; } } throw new \ Exception ( $ message , self :: SOAP_ERROR ) ; }
docstring: The PHP error handler.
  @param Event $event the PHP error event
  @throws \Exception
docstring_tokens: The PHP error handler .