File Coverage

blib/lib/Eidolon/Driver/Router/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::Router::Exceptions;
2             # ==============================================================================
3             #
4             # Eidolon
5             # Copyright (c) 2009, Atma 7
6             # ---
7             # Eidolon/Driver/Router/Exceptions.pm - router driver exceptions
8             #
9             # ==============================================================================
10              
11 2     2   9 use warnings;
  2         3  
  2         55  
12 2     2   9 use strict;
  2         3  
  2         166  
13              
14             our $VERSION = "0.02"; # 2009-05-14 05:44:39
15              
16             use Eidolon::Core::Exception::Builder
17             (
18 2         23 "DriverError::Router" =>
19             {
20             "isa" => "DriverError",
21             "title" => "Router driver error"
22             },
23              
24             "DriverError::Router::NotFound" =>
25             {
26             "isa" => "DriverError::Router",
27             "title" => "Page not found"
28             },
29              
30             "DriverError::Router::Forbidden" =>
31             {
32             "isa" => "DriverError::Router",
33             "title" => "Authorization required"
34             },
35              
36             "DriverError::Router::NoRoutes" =>
37             {
38             "isa" => "DriverError::Router",
39             "title" => "No routes defined for the application"
40             }
41 2     2   9 );
  2         3  
42              
43             1;
44              
45             __END__