File Coverage

blib/lib/Getopt/Alt/Exception.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 14 14 100.0


line stmt bran cond sub pod time code
1             package Getopt::Alt::Exception;
2              
3             # Created on: 2013-01-10 09:35:30
4             # Create by: Ivan Wills
5             # $Id$
6             # $Revision$, $HeadURL$, $Date$
7             # $Revision$, $Source$, $Date$
8              
9 11     11   79 use Moose;
  11         24  
  11         71  
10 11     11   75077 use version;
  11         25  
  11         81  
11 11     11   1144 use overload '""' => sub { shift->message };
  11     14   28  
  11         147  
  14         19873  
12              
13             extends 'Throwable::Error';
14              
15             our $VERSION = version->new('0.5.3');
16              
17             has help => (
18             is => 'rw',
19             isa => 'Bool',
20             );
21             has option => (
22             is => 'rw',
23             isa => 'Str',
24             );
25             has type => (
26             is => 'rw',
27             isa => 'Str',
28             );
29              
30             1;
31              
32             __END__
33              
34             =head1 NAME
35              
36             Getopt::Alt::Exception - I have forgotten where I was going with this
37              
38             =head1 VERSION
39              
40             This documentation refers to Getopt::Alt::Exception version 0.5.3.
41              
42              
43             =head1 SYNOPSIS
44              
45             use Getopt::Alt::Exception;
46              
47             # Brief but working code example(s) here showing the most common usage(s)
48             # This section will be as far as many users bother reading, so make it as
49             # educational and exemplary as possible.
50              
51             =head1 DESCRIPTION
52              
53             =head1 SUBROUTINES/METHODS
54              
55             =head1 DIAGNOSTICS
56              
57             =head1 CONFIGURATION AND ENVIRONMENT
58              
59             =head1 DEPENDENCIES
60              
61             =head1 INCOMPATIBILITIES
62              
63             =head1 BUGS AND LIMITATIONS
64              
65             There are no known bugs in this module.
66              
67             Please report problems to Ivan Wills (Ivan.Wills@gmail.com).
68              
69             Patches are welcome.
70              
71             =head1 AUTHOR
72              
73             Ivan Wills - (Ivan.Wills@gmail.com)
74              
75             =head1 LICENSE AND COPYRIGHT
76              
77             Copyright (c) 2013 Ivan Wills (14 Mullion Close, Hornsby Height, NSW 2077).
78             All rights reserved.
79              
80             This module is free software; you can redistribute it and/or modify it under
81             the same terms as Perl itself. See L<perlartistic>. This program is
82             distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
83             without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
84             PARTICULAR PURPOSE.
85              
86             =cut