GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  REDISDB::PARSER::ERROR (3)

.ds Aq ’

NAME

RedisDB::Parser::Error - default error class for RedisDB::Parser

CONTENTS

SYNOPSIS



    use Scalar::Util qw(blessed);
    ...;
    sub callback {
        my ( $master, $reply ) = @_;
        die "$reply" if blessed $reply;    # its more like damned
        ...;                               # do something with reply
    }



DESCRIPTION

Then RedisDB::Parser parses error response from server it creates an object of this class and passes it to callback. In string context object returns the error message from the server.

METHODS

CW$class->new($message)

Create new error object with specified error message.

CW$self->as_string

Return error message. Also you can just use object in string context.

SEE ALSO

RedisDB::Parser

AUTHOR

Pavel Shaydo, <zwon at cpan.org>

LICENSE AND COPYRIGHT

Copyright 2011-2015 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 REDISDB::PARSER::ERROR (3) 2015-02-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.