RCP/Exceptions.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« RCP/Database/Result/VarStr.pm ↑ Summary
1 package Games::Framework::RCP::Exceptions;
2  
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 our $VERSION = '0.05';
8  
9 1 ▶use Exception::Class (
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 'Private' => {
11 description => 'Illegal access of private subroutine.',
12 },
13 'DB_Gen_Exception' => {
14 description => 'Database related issues.'
15 },
16 'DB_Invalid_Type' => {
17 isa => 'DB_Gen_Exception',
18 description => 'Violations of database types.'
19 },
20 'DB_Non_Existant' => {
21 isa => 'DB_Gen_Exception',
22 description => 'Record does not exist.'
23 },
24 'DB_Non_Unique' => {
25 isa => 'DB_Gen_Exception',
26 description => 'Violations of [uniq] or [pk].'
27 },
28 'DB_Missing_Params' => {
29 isa => 'DB_Gen_Exception',
30 description => 'Not enough information for inserting data.'
31 },
32 1 );
33  
34 1 1;
35  
36 __END__
« RCP/Database/Result/VarStr.pm ↑ Summary