File Coverage

blib/lib/Eidolon/Core/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::Core::Exceptions;
2             # ==============================================================================
3             #
4             # Eidolon
5             # Copyright (c) 2009, Atma 7
6             # ---
7             # Eidolon/Core/Exceptions.pm - core exception list
8             #
9             # ==============================================================================
10              
11 3     3   43732 use warnings;
  3         7  
  3         74  
12 3     3   16 use strict;
  3         6  
  3         564  
13              
14             our $VERSION = "0.02"; # 2009-05-14 04:42:05
15              
16             use Eidolon::Core::Exception::Builder
17             (
18 3         65 "CoreError" =>
19             {
20             "title" => "Core error"
21             },
22              
23             "CoreError::Compile" =>
24             {
25             "isa" => "CoreError",
26             "title" => "Compile error"
27             },
28              
29             "CoreError::AbstractMethod" =>
30             {
31             "isa" => "CoreError",
32             "title" => "Abstract method called"
33             },
34              
35             "CoreError::NoRouter" =>
36             {
37             "isa" => "CoreError",
38             "title" => "Router not found, cannot proceed the request"
39             },
40              
41             "CoreError::NoErrorHandler" =>
42             {
43             "isa" => "CoreError",
44             "title" => "No error handler defined for the application"
45             },
46              
47             "CoreError::Loader" =>
48             {
49             "isa" => "CoreError",
50             "title" => "Driver loader error"
51             },
52              
53             "CoreError::Loader::InvalidDriver" =>
54             {
55             "isa" => "CoreError::Loader",
56             "title" => "Invalid driver type"
57             },
58              
59             "CoreError::Loader::AlreadyLoaded" =>
60             {
61             "isa" => "CoreError::Loader",
62             "title" => "This type of driver is already loaded"
63             },
64              
65             "CoreError::CGI" =>
66             {
67             "isa" => "CoreError",
68             "title" => "CGI error"
69             },
70              
71             "CoreError::CGI::MaxPost" =>
72             {
73             "isa" => "CoreError::CGI",
74             "title" => "Too big POST request"
75             },
76              
77             "CoreError::CGI::InvalidPOST" =>
78             {
79             "isa" => "CoreError::CGI",
80             "title" => "Invalid POST request"
81             },
82              
83             "CoreError::CGI::FileSave" =>
84             {
85             "isa" => "CoreError::CGI",
86             "title" => "Error saving file"
87             }
88 3     3   7195 );
  3         7  
89              
90             1;
91              
92             __END__