ShardedKV::Error::WriteFail - Thrown when set() fails on a storage backend
version 0.17
ShardedKV::Error::WriteFail is an exception thrown when there is a problem writing to the particular storage backend. The exception will contain which key failed, and potentially which operation during the set() failed.
(is: ro, isa: Str, required)
key holds what particular key was used for the set() call.
(is: ro, isa: enum(set, expire))
operation may contain what operation the set was doing when the failure occurred. In the case of the Redis storage backend, the expiration operation is separate from the actual set operation. In those two cases, this attribute will be set with the appropriate operation. Other backends may or may not supply this value.
has_operation() is the predicate check for the "operation" attribute. It checks if operation is defined (ie. the backend set a value).
Steffen Mueller <smueller@cpan.org>
Nick Perez <nperez@cpan.org>
This software is copyright (c) 2013 by Steffen Mueller.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install ShardedKV, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ShardedKV
CPAN shell
perl -MCPAN -e shell install ShardedKV
For more information on module installation, please visit the detailed CPAN module installation guide.