
Mojo::Template::Exception - Template Exception

use Mojo::Template::Exception;
my $e = Mojo::Template::Exception->new;

Mojo::Template::Exception is a container for template exceptions.

Mojo::Template::Exception inherits all attributes from Mojo::Exception.

Mojo::Template::Exception inherits all methods from Mojo::Exception and implements the following new ones.
new my $e = Mojo::Template::Exception->new('Oops!', $template);