From a12aec38c3e57814543ffd049101c2f54dd3e257 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 16 Jun 2011 10:04:13 +0200 Subject: [PATCH] added Twig_Error::getRawMessage() --- lib/Twig/Error.php | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) 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 -- 1.7.2.5