File Coverage

blib/lib/Perl/ToPerl6/Exception/Configuration.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Perl::ToPerl6::Exception::Configuration;
2              
3 26     26   11752 use 5.006001;
  26         73  
4 26     26   150 use strict;
  26         36  
  26         558  
5 26     26   136 use warnings;
  26         35  
  26         1619  
6              
7             our $VERSION = '0.031';
8              
9             #-----------------------------------------------------------------------------
10              
11             use Exception::Class (
12 26         266 'Perl::ToPerl6::Exception::Configuration' => {
13             isa => 'Perl::ToPerl6::Exception',
14             description => 'A problem with Perl::ToPerl6 configuration, whether from a file or a command line or some other source.',
15             fields => [ qw{ source } ],
16             },
17 26     26   133 );
  26         38  
18              
19             #-----------------------------------------------------------------------------
20              
21             1;
22              
23             __END__
24              
25             #-----------------------------------------------------------------------------
26              
27             =pod
28              
29             =for stopwords
30              
31             =head1 NAME
32              
33             Perl::ToPerl6::Exception::Configuration - A problem with L<Perl::ToPerl6|Perl::ToPerl6> configuration.
34              
35             =head1 DESCRIPTION
36              
37             A representation of a problem found with the configuration of
38             L<Perl::ToPerl6|Perl::ToPerl6>, whether from a F<.perlmogrifyrc>, another profile
39             file, or command line.
40              
41             This is an abstract class. It should never be instantiated.
42              
43              
44             =head1 INTERFACE SUPPORT
45              
46             This is considered to be a public class. Any changes to its interface
47             will go through a deprecation cycle.
48              
49              
50             =head1 METHODS
51              
52             =over
53              
54             =item C<source()>
55              
56             Where the configuration information came from, if it could be determined.
57              
58              
59             =back
60              
61              
62             =head1 SEE ALSO
63              
64             L<Perl::ToPerl6::Exception::Configuration::Generic|Perl::ToPerl6::Exception::Configuration::Generic>
65             L<Perl::ToPerl6::Exception::Configuration::Option|Perl::ToPerl6::Exception::Configuration::Option>
66              
67              
68             =head1 AUTHOR
69              
70             Elliot Shank <perl@galumph.com>
71              
72             =head1 COPYRIGHT
73              
74             Copyright (c) 2007-2011 Elliot Shank.
75              
76             This program is free software; you can redistribute it and/or modify
77             it under the same terms as Perl itself. The full text of this license
78             can be found in the LICENSE file included with this module.
79              
80             =cut
81              
82             # Local Variables:
83             # mode: cperl
84             # cperl-indent-level: 4
85             # fill-column: 78
86             # indent-tabs-mode: nil
87             # c-indentation-style: bsd
88             # End:
89             # ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround :