You are here

public function Twig_Error::appendMessage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/Error.php \Twig_Error::appendMessage()
1 call to Twig_Error::appendMessage()
Twig_Error_Syntax::addSuggestions in vendor/twig/twig/lib/Twig/Error/Syntax.php
Tweaks the error message to include suggestions.

File

vendor/twig/twig/lib/Twig/Error.php, line 158

Class

Twig_Error
Twig base exception.

Code

public function appendMessage($rawMessage) {
  $this->rawMessage .= $rawMessage;
  $this
    ->updateRepr();
}