File Coverage

blib/lib/Message/Passing/Exception/ConnectionTimeout.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Message::Passing::Exception::ConnectionTimeout;
2 2     2   13 use Moo;
  2         6  
  2         25  
3 2     2   603 use Data::Dumper ();
  2         5  
  2         85  
4 2     2   12 use MooX::Types::MooseLike::Base qw/ Str Num /;
  2         4  
  2         187  
5 2     2   13 use namespace::clean -except => 'meta';
  2         4  
  2         12  
6              
7             with 'Message::Passing::Exception';
8              
9             has after => (
10             isa => Num,
11             is => 'ro',
12             required => 1,
13             );
14              
15             1;
16              
17             =head1 NAME
18              
19             Message::Passing::Exception::ConnectionTimeout - A connection timed out
20              
21             =head1 ATTRIBUTES
22              
23             =head2 after
24              
25             How long we waited before the connection was timed out.
26              
27             =head1 AUTHOR, COPYRIGHT AND LICENSE
28              
29             See L<Message::Passing>.
30              
31             =cut
32