| Eidolon documentation | view source | Contained in the Eidolon distribution. |
Eidolon::Driver::Template::Exceptions - Eidolon template driver exceptions.
In error handler of your application (lib/Example/Error.pm) you could write:
if ($e eq "Error::Driver::Template::Open")
{
print "Cannot open template file!";
}
else
{
$e->rethrow();
}
The Eidolon::Driver::Template::Exceptions package creates template driver exceptions that are used by all template drivers.
Base template driver exception. All other template driver exceptions subclass it.
Error opening template directory. Thrown when template directory doesn't exist.
Error opening template file. Thrown when driver cannot open template file for reading.
Error rendering template file. Thrown when application attempts to render a template that wasn't parsed.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Anton Belousov, <abel@cpan.org>
Copyright (c) 2009, Atma 7, http://www.atma7.com
| Eidolon documentation | view source | Contained in the Eidolon distribution. |