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);
    }
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);
    }
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 ) ; }
The PHP error handler.
@param Event $event the PHP error event
@throws \Exception
The PHP error handler .