line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Amazon::SimpleDB::ErrorResponse; |
2
|
1
|
|
|
1
|
|
2326
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
136
|
|
3
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
34
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
6
|
use base 'Amazon::SimpleDB::Response'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
182
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# can multiple errors happen in one response? |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub new { |
10
|
|
|
|
|
|
|
my $self = shift; |
11
|
|
|
|
|
|
|
$self->SUPER::new(@_); |
12
|
|
|
|
|
|
|
$self->{'request_id'} = $self->{content}->{Response}{RequestID}; |
13
|
|
|
|
|
|
|
$self->{'box_usage'} = |
14
|
|
|
|
|
|
|
$self->{content}->{Response}{Errors}{Error}{BoxUsage}; |
15
|
|
|
|
|
|
|
return $self; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub code { return $_[0]->{content}->{Response}{Errors}{Error}{Code} } |
19
|
|
|
|
|
|
|
sub message { return $_[0]->{content}->{Response}{Errors}{Error}{Message} } |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__END__ |