line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Method::ParamValidator::Exception::InvalidParameterDataStructure; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
$Method::ParamValidator::Exception::InvalidParameterDataStructure::VERSION = '0.15'; |
4
|
|
|
|
|
|
|
$Method::ParamValidator::Exception::InvalidParameterDatastructure::AUTHORITY = 'cpan:MANWAR'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=head1 NAME |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
Method::ParamValidator::Exception::InvalidParameterDataStructure - Handles 'invalid parameter data structure' exception. |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 VERSION |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Version 0.15 |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=cut |
15
|
|
|
|
|
|
|
|
16
|
6
|
|
|
6
|
|
126
|
use 5.006; |
|
6
|
|
|
|
|
23
|
|
17
|
6
|
|
|
6
|
|
39
|
use Data::Dumper; |
|
6
|
|
|
|
|
16
|
|
|
6
|
|
|
|
|
361
|
|
18
|
|
|
|
|
|
|
|
19
|
6
|
|
|
6
|
|
38
|
use Moo; |
|
6
|
|
|
|
|
22
|
|
|
6
|
|
|
|
|
40
|
|
20
|
6
|
|
|
6
|
|
2093
|
use namespace::autoclean; |
|
6
|
|
|
|
|
16
|
|
|
6
|
|
|
|
|
54
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
has status => (is => 'ro', default => sub { 102 }); |
23
|
|
|
|
|
|
|
has reason => (is => 'ro', default => sub { 'Invalid parameters data structure.' }); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
with 'Method::ParamValidator::Exception'; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 DESCRIPTION |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
B |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 AUTHOR |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Mohammad S Anwar, C<< >> |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 REPOSITORY |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
L |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 BUGS |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Please report any bugs or feature requests to C, |
42
|
|
|
|
|
|
|
or through the web interface at L. |
43
|
|
|
|
|
|
|
I will be notified and then you'll automatically be notified of progress on your |
44
|
|
|
|
|
|
|
bug as I make changes. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 SUPPORT |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
perldoc Method::ParamValidator::Exception::InvalidParameterDataStructure |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
You can also look for information at: |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=over 4 |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker (report bugs here) |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
L |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
L |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=item * CPAN Ratings |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
L |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=item * Search CPAN |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
L |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=back |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
Copyright (C) 2015 Mohammad S Anwar. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
This program is free software; you can redistribute it and / or modify it under |
79
|
|
|
|
|
|
|
the terms of the the Artistic License (2.0). You may obtain a copy of the full |
80
|
|
|
|
|
|
|
license at: |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
L |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Any use, modification, and distribution of the Standard or Modified Versions is |
85
|
|
|
|
|
|
|
governed by this Artistic License.By using, modifying or distributing the Package, |
86
|
|
|
|
|
|
|
you accept this license. Do not use, modify, or distribute the Package, if you do |
87
|
|
|
|
|
|
|
not accept this license. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
If your Modified Version has been derived from a Modified Version made by someone |
90
|
|
|
|
|
|
|
other than you,you are nevertheless required to ensure that your Modified Version |
91
|
|
|
|
|
|
|
complies with the requirements of this license. |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
This license does not grant you the right to use any trademark, service mark, |
94
|
|
|
|
|
|
|
tradename, or logo of the Copyright Holder. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
This license includes the non-exclusive, worldwide, free-of-charge patent license |
97
|
|
|
|
|
|
|
to make, have made, use, offer to sell, sell, import and otherwise transfer the |
98
|
|
|
|
|
|
|
Package with respect to any patent claims licensable by the Copyright Holder that |
99
|
|
|
|
|
|
|
are necessarily infringed by the Package. If you institute patent litigation |
100
|
|
|
|
|
|
|
(including a cross-claim or counterclaim) against any party alleging that the |
101
|
|
|
|
|
|
|
Package constitutes direct or contributory patent infringement,then this Artistic |
102
|
|
|
|
|
|
|
License to you shall terminate on the date that such litigation is filed. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND |
105
|
|
|
|
|
|
|
CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED |
106
|
|
|
|
|
|
|
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR |
107
|
|
|
|
|
|
|
NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS |
108
|
|
|
|
|
|
|
REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, |
109
|
|
|
|
|
|
|
INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE |
110
|
|
|
|
|
|
|
OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=cut |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
1; # End of Method::ParamValidator::Exception::InvalidParamererDataStructure |