NAME

Mojo::Template::Exception - Template Exception

SYNOPSIS

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

DESCRIPTION

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

ATTRIBUTES

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

METHODS

Mojo::Template::Exception inherits all methods from Mojo::Exception and implements the following new ones.

new

my $e = Mojo::Template::Exception->new('Oops!', $template);