line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::Braintree::ValidationError; |
2
|
|
|
|
|
|
|
$WebService::Braintree::ValidationError::VERSION = '0.93'; |
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
WebService::Braintree::ValidationError |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 PURPOSE |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
This class represents an error, usually from a failed validation. |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=cut |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
10
|
use Moose; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
9
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 CLASS METHODS |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
This class is B<NOT> an interface, so it does B<NOT> have any class methods. |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 OBJECT METHODS |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head2 attribute() |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
This is the B<TODO> |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=cut |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
has 'attribute' => (is => 'ro'); |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head2 code() |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
This is the B<TODO> |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
has 'code' => (is => 'ro'); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head2 message() |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This is the B<TODO> |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
has 'message' => (is => 'ro'); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
1; |
48
|
|
|
|
|
|
|
__END__ |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 TODO |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=over 4 |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item Need to document what the attributes actually mean. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=back |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |