projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
47818dd
)
added Twig_Error::getRawMessage()
author
Fabien Potencier
<fabien.potencier@gmail.com>
Thu, 16 Jun 2011 08:04:13 +0000 (10:04 +0200)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Thu, 16 Jun 2011 08:04:13 +0000 (10:04 +0200)
lib/Twig/Error.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Error.php
b/lib/Twig/Error.php
index
d4abdc4
..
d05d83c
100644
(file)
--- 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