++ed by:
MISHIN PERLOVER MILA AERO MADCAT

5 PAUSE users
4 non-PAUSE users.

Author image Pavel Shaydo
and 6 contributors

NAME

RedisDB::Error - Error class for RedisDB

SYNOPSIS

    sub callback {
        my ($redis, $reply) = @_;
        die "$reply" if ref $reply eq 'RedisDB::Error';
        # do something with reply
    }

DESCRIPTION

Object of this class maybe passed as argument to callback specified in send_command_cb if redis server return error. In string context object returns description of the error. This class inherits from RedisDB::Parser::Error.

SEE ALSO

RedisDB

AUTHOR

Pavel Shaydo, <zwon at cpan.org>

LICENSE AND COPYRIGHT

Copyright 2011-2021 Pavel Shaydo.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.