NAME

Mojo::Loader::Exception - Loader Exception

SYNOPSIS

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

DESCRIPTION

Mojo::Loader::Exception is a container for loader exceptions.

ATTRIBUTES

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

loaded

my $loaded = $e->loaded;
$e         = $e->loaded(1);

module

my $module = $e->module;
$e         = $e->module('Foo::Bar');

METHODS

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

new

my $e = Mojo::Loader::Exception->new(
    'SomeClass',
    'Something bad happened!'
);