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

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);