blib/lib/DBIx/Changeset/Exception.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« bin/dbix_changeset.pl ↑ Summary
1 package DBIx::Changeset::Exception;
2  
3 13 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 13 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 13 ▶use vars qw{$VERSION};
Subroutine BEGIN: called CC=1 SCAR=0.0
7 13 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
8 13 $VERSION = '1.11';
9 }
10  
11 =head1 NAME
12  
13 DBIx::Changeset::Exceptions - the Exceptions base
14  
15 =head1 EXCEPTIONS
16  
17 =cut
18  
19 13 ▶use Exception::Class (
Subroutine BEGIN: called CC=1 SCAR=0.0
20 13 'DBIx::Changeset::Exception::ObjectCreateException' => { description => 'Object Creation Error' },
21 'DBIx::Changeset::Exception::ReadRecordException' => { description => 'Could not write from record' },
22 'DBIx::Changeset::Exception::WriteRecordException' => { description => 'Could not write to record' },
23 'DBIx::Changeset::Exception::DuplicateRecordNameException' => { description => 'Could create record as it already exists', fields => [ 'filename' ] },
24 'DBIx::Changeset::Exception::ReadCollectionException' => { description => 'Could not read from collections changeset_location' },
25 'DBIx::Changeset::Exception::MissingAddTemplateException' => { description => 'Could not read create_template' },
26 'DBIx::Changeset::Exception::LoaderException' => { description => 'Could not load changeset record into database' },
27 'DBIx::Changeset::Exception::ReadHistoryRecordException' => { description => 'Could not read from history record' },
28 'DBIx::Changeset::Exception::WriteHistoryRecordException' => { description => 'Could not write to history record' },
29 13 );
30  
31 =head1 COPYRIGHT & LICENSE
32  
33 Copyright 2004-2008 Grox Pty Ltd.
34  
35 This program is free software; you can redistribute it and/or modify it
36 under the same terms as Perl itself.
37  
38 The full text of the license can be found in the LICENSE file included with this module.
39  
40 =cut
41  
42 13 1; # End of DBIx::Changeset::Exceptions
« bin/dbix_changeset.pl ↑ Summary