Skip to content
Browse files

added Twig_Error::getRawMessage()

  • Loading branch information...
1 parent 47818dd commit a12aec38c3e57814543ffd049101c2f54dd3e257 @fabpot committed Jun 16, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/Twig/Error.php
View
10 lib/Twig/Error.php
@@ -51,6 +51,16 @@ public function __construct($message, $lineno = -1, $filename = null, 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

0 comments on commit a12aec3

Please sign in to comment.
Something went wrong with that request. Please try again.