Skip to content

Commit

Permalink
Merge pull request #1 from ksurent/master
Browse files Browse the repository at this point in the history
actually `use` exception classes
  • Loading branch information
dgryski committed Sep 27, 2013
2 parents 1c002db + 2290862 commit 4cc9457
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ShardedKV/Storage/MySQL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ use Moose;
use Time::HiRes qw(sleep);
use Carp ();

use ShardedKV::Error::ConnectFail;
use ShardedKV::Error::DeleteFail;
use ShardedKV::Error::ReadFail;

with 'ShardedKV::Storage';

=attribute_public mysql_connector
Expand Down
2 changes: 2 additions & 0 deletions lib/ShardedKV/Storage/Redis.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ use Moose;
use Encode;
use Redis;
use List::Util qw(shuffle);

use ShardedKV::Error::ConnectFail;
use ShardedKV::Error::DeleteFail;

with 'ShardedKV::Storage';

Expand Down

0 comments on commit 4cc9457

Please sign in to comment.