PhpParser\Error::setRawMessage PHP Method

setRawMessage() public method

Sets the line of the PHP file the error occurred in.
public setRawMessage ( string $message )
$message string Error message
    public function setRawMessage($message)
    {
        $this->rawMessage = (string) $message;
        $this->updateMessage();
    }