| 1 | package ShardedKV::Error::DeleteFail; | ||
| 2 | 3 | $ShardedKV::Error::DeleteFail::VERSION = '0.20'; | |
| 3 | 3 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | extends 'ShardedKV::Error'; | |
| 5 | |||
| 6 | #ABSTRACT: Thrown when delete() fails on a storage backend | ||
| 7 | |||
| 8 | |||
| 9 | |||
| 10 | 3 | has key => ( | |
| 11 | is => 'ro', | ||
| 12 | isa => 'Str', | ||
| 13 | required => 1, | ||
| 14 | ); | ||
| 15 | |||
| 16 | 3 | 1; | |
| 17 | 3 | __PACKAGE__->meta->make_immutable(inline_constructor => 0); | |
| 18 | |||
| 19 | =pod | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | ShardedKV::Error::DeleteFail - Thrown when delete() fails on a storage backend | ||
| 24 | |||
| 25 | =head1 VERSION | ||
| 26 | |||
| 27 | version 0.20 | ||
| 28 | |||
| 29 | =head1 DESCRIPTION | ||
| 30 | |||
| 31 | ShardedKV::Error::DeleteFail is an exception thrown when there is a problem | ||
| 32 | deleting a key from a particular storage backend. The exception will contain | ||
| 33 | which key failed. | ||
| 34 | |||
| 35 | =head1 PUBLIC ATTRIBUTES | ||
| 36 | |||
| 37 | =head2 key | ||
| 38 | |||
| 39 | (is: ro, isa: Str, required) | ||
| 40 | |||
| 41 | key holds what particular key was used for the delete() call. | ||
| 42 | |||
| 43 | =head1 AUTHORS | ||
| 44 | |||
| 45 | =over 4 | ||
| 46 | |||
| 47 | =item * | ||
| 48 | |||
| 49 | Steffen Mueller <smueller@cpan.org> | ||
| 50 | |||
| 51 | =item * | ||
| 52 | |||
| 53 | Nick Perez <nperez@cpan.org> | ||
| 54 | |||
| 55 | =item * | ||
| 56 | |||
| 57 | Damian Gryski <dgryski@cpan.org> | ||
| 58 | |||
| 59 | =back | ||
| 60 | |||
| 61 | =head1 COPYRIGHT AND LICENSE | ||
| 62 | |||
| 63 | This software is copyright (c) 2013 by Steffen Mueller. | ||
| 64 | |||
| 65 | This is free software; you can redistribute it and/or modify it under | ||
| 66 | the same terms as the Perl 5 programming language system itself. | ||
| 67 | |||
| 68 | =cut | ||
| 69 | |||
| 70 | __END__ | ||