ShardedKV/Error/ReadFail.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« ShardedKV/Error/DeleteFail.pm ↑ Summary ShardedKV/Error/WriteFail.pm »
1 package ShardedKV::Error::ReadFail;
2 3 $ShardedKV::Error::ReadFail::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 get() 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::ReadFail - Thrown when get() fails on a storage backend
24  
25 =head1 VERSION
26  
27 version 0.20
28  
29 =head1 DESCRIPTION
30  
31 ShardedKV::Error::ReadFail is an exception thrown when there is a problem
32 reading from a particular storage backend. The exception will contain which key
33 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 get() 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__
« ShardedKV/Error/DeleteFail.pm ↑ Summary ShardedKV/Error/WriteFail.pm »