File Coverage

blib/lib/Perl/ToPerl6/Exception/Fatal/Generic.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1             package Perl::ToPerl6::Exception::Fatal::Generic;
2              
3 1     1   16 use 5.006001;
  1         4  
4 1     1   4 use strict;
  1         1  
  1         23  
5 1     1   5 use warnings;
  1         1  
  1         21  
6              
7 1     1   4 use Readonly;
  1         2  
  1         77  
8              
9             #-----------------------------------------------------------------------------
10              
11             use Exception::Class (
12 1         8 'Perl::ToPerl6::Exception::Fatal::Generic' => {
13             isa => 'Perl::ToPerl6::Exception::Fatal',
14             description => 'A general problem was found.',
15             alias => 'throw_generic',
16             },
17 1     1   5 );
  1         1  
18              
19             #-----------------------------------------------------------------------------
20              
21             Readonly::Array our @EXPORT_OK => qw< throw_generic >;
22              
23             #-----------------------------------------------------------------------------
24              
25              
26             1;
27              
28             __END__
29              
30             #-----------------------------------------------------------------------------
31              
32             =pod
33              
34             =for stopwords
35              
36             =head1 NAME
37              
38             Perl::ToPerl6::Exception::Fatal::Generic - A problem for which there is no specialized information.
39              
40             =head1 DESCRIPTION
41              
42             A general problem, e.g. I/O errors and problems that may or not be bugs.
43              
44              
45             =head1 INTERFACE SUPPORT
46              
47             This is considered to be a public class. Any changes to its interface
48             will go through a deprecation cycle.
49              
50              
51             =head1 METHODS
52              
53             Only inherited ones.
54              
55              
56             =head1 AUTHOR
57              
58             Elliot Shank <perl@galumph.com>
59              
60             =head1 COPYRIGHT
61              
62             Copyright (c) 2007-2011 Elliot Shank.
63              
64             This program is free software; you can redistribute it and/or modify
65             it under the same terms as Perl itself. The full text of this license
66             can be found in the LICENSE file included with this module.
67              
68             =cut
69              
70             # Local Variables:
71             # mode: cperl
72             # cperl-indent-level: 4
73             # fill-column: 78
74             # indent-tabs-mode: nil
75             # c-indentation-style: bsd
76             # End:
77             # ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround :