[Templates] Return of the error() method
Jonas Liljegren
jonas@paranormal.se
Tue, 15 Aug 2000 16:55:13 +0200 (CEST)
I found one instance there my new $template returned a Template::Exception
from a call to $template->error() and another there it returned the
Template::Exception as_string().
I also noticed that there is a third element in the Exception object,
quoting a the part of a parsing error.
I would like to get my hands on the Template::Exception object from a
failed $template->process(), in order to get to the exception type.
That would make it consistent with other uncought exceptions.
And I would also like to access that quoted template part. It does not
have a documented get method.
--
/ Jonas - http://jonas.liljegren.org/myself/en/index.html