The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Helix::Driver::Template::Exceptions - Helix Framework template driver exceptions.

SYNOPSIS

In error handler of your application (lib/Example/Controller/_Error.pm) you could write:

    if ($e == Error::Driver::Template::Open)
    {
        print "Cannot open template file!";
    }
    else
    {
        $e->rethrow();
    }

DESCRIPTION

The Helix::Driver::Template::Exceptions package creates template driver exceptions that are used by all template drivers.

EXCEPTIONS

Error::Driver::Template

Base template driver exception. All other template driver exceptions subclass it.

Error::Driver::Template::Directory

Error opening template directory. Thrown when template directory doesn't exist.

Error::Driver::Template::Open

Error opening template file. Thrown when driver cannot open template file for reading.

Error::Driver::Template::NotParsed

Error rendering template file. Thrown when application attempts to render a template that wasn't parsed.

SEE ALSO

Helix, Helix::Driver::Exceptions, Helix::Core::Exception, Helix::Core::Exception::Builder

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Anton Belousov, <abel@cpan.org>

COPYRIGHT

Copyright (c) 2009, Atma 7, http://www.atma7.com