src/ResponseParser.php
public function getErrorMessage()
    {
        $errorMessage = '';

        $dom = $this->getDOMDocument();
        $xpath = new DOMXPath($dom);
        if (($errorNode = $xpath->query('/response/error')->item(0)) instanceof DOMNode) {
            $errorMessage = $errorNode->nodeValue;
        }

        return $errorMessage;
    }
public function getErrorMessage()
    {
        $errorMessage = '';

        $dom = $this->getDOMDocument();
        $xpath = new DOMXPath($dom);
        if (($errorNode = $xpath->query('/response/error')->item(0)) instanceof DOMNode) {
            $errorMessage = $errorNode->nodeValue;
        }

        return $errorMessage;
    }
public function getErrorMessage ( ) { $ errorMessage = '' ; $ dom = $ this -> getDOMDocument ( ) ; $ xpath = new DOMXPath ( $ dom ) ; if ( ( $ errorNode = $ xpath -> query ( '/response/error' ) -> item ( 0 ) ) instanceof DOMNode ) { $ errorMessage = $ errorNode -> nodeValue ; } return $ errorMessage ; }
Returns the error message from the Tulip API.

@return string
Returns the error message from the Tulip API .