kernel/private/rest/classes/status/oauth_required.php
protected function createErrorString()
    {
        $str = '';
        if ( $this->errorType !== null )
        {
            $str .= ", error='{$this->errorType}'";
        }

        if ( $this->errorMessage !== null )
        {
            $str .= ", error_description='{$this->errorMessage}'";
        }
        return $str;
    }
protected function createErrorString()
    {
        $str = '';
        if ( $this->errorType !== null )
        {
            $str .= ", error='{$this->errorType}'";
        }

        if ( $this->errorMessage !== null )
        {
            $str .= ", error_description='{$this->errorMessage}'";
        }
        return $str;
    }
protected function createErrorString ( ) { $ str = '' ; if ( $ this -> errorType !== null ) { $ str .= ", error='{$this->errorType}'" ; } if ( $ this -> errorMessage !== null ) { $ str .= ", error_description='{$this->errorMessage}'" ; } return $ str ; }
Creates for use in authentcation challenge header

@return string
Creates for use in authentcation challenge header