From: Fabien Potencier Date: Thu, 16 Jun 2011 08:04:13 +0000 (+0200) Subject: added Twig_Error::getRawMessage() X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=a12aec38c3e57814543ffd049101c2f54dd3e257;p=web%2Fkonrad%2Ftwig.git added Twig_Error::getRawMessage() --- diff --git a/lib/Twig/Error.php b/lib/Twig/Error.php index d4abdc4..d05d83c 100644 --- a/lib/Twig/Error.php +++ b/lib/Twig/Error.php @@ -51,6 +51,16 @@ class Twig_Error extends Exception } /** + * Gets the raw message. + * + * @return string The raw message + */ + public function getRawMessage() + { + return $this->rawMessage; + } + + /** * Gets the filename where the error occurred. * * @return string The filename