line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WWW::Google::C2DM::Constants; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
603
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
25
|
|
5
|
1
|
|
|
1
|
|
6
|
use parent 'Exporter'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
my @error_code = qw( |
8
|
|
|
|
|
|
|
QuotaExceeded |
9
|
|
|
|
|
|
|
DeviceQuotaExceeded |
10
|
|
|
|
|
|
|
MissingRegistration |
11
|
|
|
|
|
|
|
InvalidRegistration |
12
|
|
|
|
|
|
|
MismatchSenderId |
13
|
|
|
|
|
|
|
NotRegistered |
14
|
|
|
|
|
|
|
MessageTooBig |
15
|
|
|
|
|
|
|
MissingCollapseKey |
16
|
|
|
|
|
|
|
); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
our @EXPORT = (@error_code); |
19
|
|
|
|
|
|
|
our @EXPORT_OK = (); |
20
|
|
|
|
|
|
|
our %EXPORT_TAGS = ( |
21
|
|
|
|
|
|
|
all => [@EXPORT, @EXPORT_OK], |
22
|
|
|
|
|
|
|
error_code => \@error_code, |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
use constant { |
26
|
|
|
|
|
|
|
# error code |
27
|
1
|
|
|
|
|
134
|
QuotaExceeded => 'QuotaExceeded', |
28
|
|
|
|
|
|
|
DeviceQuotaExceeded => 'DeviceQuotaExceeded', |
29
|
|
|
|
|
|
|
MissingRegistration => 'MissingRegistration', |
30
|
|
|
|
|
|
|
InvalidRegistration => 'InvalidRegistration', |
31
|
|
|
|
|
|
|
MismatchSenderId => 'MismatchSenderId', |
32
|
|
|
|
|
|
|
NotRegistered => 'NotRegistered', |
33
|
|
|
|
|
|
|
MessageTooBig => 'MessageTooBig', |
34
|
|
|
|
|
|
|
MissingCollapseKey => 'MissingCollapseKey', |
35
|
1
|
|
|
1
|
|
145
|
}; |
|
1
|
|
|
|
|
2
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
__END__ |