| 1 | package Amazon::SimpleDB::ErrorResponse; | ||
| 2 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 2 | ▶ | use base 'Amazon::SimpleDB::Response'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | # can multiple errors happen in one response? | ||
| 8 | |||
| 9 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 10 | 0 | my $self = shift; | |
| 11 | 0 | $self->SUPER::new(@_); | |
| 12 | 0 | $self->{'request_id'} = $self->{content}->{Response}{RequestID}; | |
| 13 | $self->{'box_usage'} = | ||
| 14 | 0 | $self->{content}->{Response}{Errors}{Error}{BoxUsage}; | |
| 15 | 0 | return $self; | |
| 16 | } | ||
| 17 | |||
| 18 | 0 | ▶ | sub code { return $_[0]->{content}->{Response}{Errors}{Error}{Code} } |
|
Subroutine
code: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 19 | 0 | ▶ | sub message { return $_[0]->{content}->{Response}{Errors}{Error}{Message} } |
|
Subroutine
message: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 20 | |||
| 21 | 2 | 1; | |
| 22 | |||
| 23 | __END__ | ||