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   8 use Moo;
  2         2  
  2         10  
3 2     2   510 use Data::Dumper ();
  2         3  
  2         54  
4 2     2   11 use MooX::Types::MooseLike::Base qw/ Str Num /;
  2         3  
  2         138  
5 2     2   11 use namespace::clean -except => 'meta';
  2         3  
  2         14  
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.
30              
31             =cut
32