![]() |
![]()
| ![]() |
![]()
NAMERedisDB::Error - Error class for RedisDB SYNOPSISsub callback { my ($redis, $reply) = @_; die "$reply" if ref $reply eq 'RedisDB::Error'; # do something with reply } DESCRIPTIONObject 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 ALSORedisDB AUTHORPavel Shaydo, "<zwon at cpan.org>" LICENSE AND COPYRIGHTCopyright 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.
|