File Coverage

blib/lib/Eidolon/Driver/Template/Exceptions.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Eidolon::Driver::Template::Exceptions;
2             # ==============================================================================
3             #
4             # Eidolon
5             # Copyright (c) 2009, Atma 7
6             # ---
7             # Eidolon/Driver/Template/Exceptions.pm - template driver exceptions
8             #
9             # ==============================================================================
10              
11 1     1   6 use warnings;
  1         2  
  1         27  
12 1     1   6 use strict;
  1         1  
  1         90  
13              
14             our $VERSION = "0.02"; # 2009-05-14 05:44:54
15              
16             use Eidolon::Core::Exception::Builder
17             (
18 1         12 "DriverError::Template" =>
19             {
20             "isa" => "DriverError",
21             "title" => "Template driver error"
22             },
23              
24             "DriverError::Template::Directory" =>
25             {
26             "isa" => "DriverError::Template",
27             "title" => "Cannot open template directory"
28             },
29              
30             "DriverError::Template::Open" =>
31             {
32             "isa" => "DriverError::Template",
33             "title" => "Cannot open template file"
34             },
35              
36             "DriverError::Template::NotParsed" =>
37             {
38             "isa" => "DriverError::Template",
39             "title" => "Template must be parsed before rendering"
40             }
41 1     1   6 );
  1         2  
42              
43             1;
44              
45             __END__