File tree Expand file tree Collapse file tree 3 files changed +32
-33
lines changed Expand file tree Collapse file tree 3 files changed +32
-33
lines changed Original file line number Diff line number Diff line change 1
- AnyEvent-RipeRedis version 0.14
1
+ AnyEvent-RipeRedis version 0.15_01
2
2
======================
3
3
4
4
INSTALLATION
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use strict;
5
5
use warnings;
6
6
use base qw( Exporter ) ;
7
7
8
- our $VERSION = ' 0.14 ' ;
8
+ our $VERSION = ' 0.15_01 ' ;
9
9
10
10
use AnyEvent::RipeRedis::Error;
11
11
@@ -18,36 +18,7 @@ use Carp qw( croak );
18
18
our %ERROR_CODES ;
19
19
20
20
BEGIN {
21
- %ERROR_CODES = (
22
- E_CANT_CONN => 1,
23
- E_LOADING_DATASET => 2,
24
- E_IO => 3,
25
- E_CONN_CLOSED_BY_REMOTE_HOST => 4,
26
- E_CONN_CLOSED_BY_CLIENT => 5,
27
- E_NO_CONN => 6,
28
- E_OPRN_ERROR => 9,
29
- E_UNEXPECTED_DATA => 10,
30
- E_NO_SCRIPT => 11,
31
- E_READ_TIMEDOUT => 12,
32
- E_BUSY => 13,
33
- E_MASTER_DOWN => 14,
34
- E_MISCONF => 15,
35
- E_READONLY => 16,
36
- E_OOM => 17,
37
- E_EXEC_ABORT => 18,
38
- E_NO_AUTH => 19,
39
- E_WRONG_TYPE => 20,
40
- E_NO_REPLICAS => 21,
41
- E_BUSY_KEY => 22,
42
- E_CROSS_SLOT => 23,
43
- E_TRY_AGAIN => 24,
44
- E_ASK => 25,
45
- E_MOVED => 26,
46
- E_CLUSTER_DOWN => 27,
47
- );
48
- }
49
-
50
- BEGIN {
21
+ %ERROR_CODES = %AnyEvent::RipeRedis::Error::ERROR_CODES ;
51
22
our @EXPORT_OK = keys %ERROR_CODES ;
52
23
our %EXPORT_TAGS = ( err_codes => \@EXPORT_OK , );
53
24
}
Original file line number Diff line number Diff line change @@ -4,7 +4,35 @@ use 5.008000;
4
4
use strict;
5
5
use warnings;
6
6
7
- our $VERSION = ' 0.14' ;
7
+ our $VERSION = ' 0.15_01' ;
8
+
9
+ our %ERROR_CODES = (
10
+ E_CANT_CONN => 1,
11
+ E_LOADING_DATASET => 2,
12
+ E_IO => 3,
13
+ E_CONN_CLOSED_BY_REMOTE_HOST => 4,
14
+ E_CONN_CLOSED_BY_CLIENT => 5,
15
+ E_NO_CONN => 6,
16
+ E_OPRN_ERROR => 9,
17
+ E_UNEXPECTED_DATA => 10,
18
+ E_NO_SCRIPT => 11,
19
+ E_READ_TIMEDOUT => 12,
20
+ E_BUSY => 13,
21
+ E_MASTER_DOWN => 14,
22
+ E_MISCONF => 15,
23
+ E_READONLY => 16,
24
+ E_OOM => 17,
25
+ E_EXEC_ABORT => 18,
26
+ E_NO_AUTH => 19,
27
+ E_WRONG_TYPE => 20,
28
+ E_NO_REPLICAS => 21,
29
+ E_BUSY_KEY => 22,
30
+ E_CROSS_SLOT => 23,
31
+ E_TRY_AGAIN => 24,
32
+ E_ASK => 25,
33
+ E_MOVED => 26,
34
+ E_CLUSTER_DOWN => 27,
35
+ );
8
36
9
37
10
38
sub new {
You can’t perform that action at this time.
0 commit comments