Passing/Exception/Decoding.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Passing/Exception/ConnectionTimeout.pm ↑ Summary Passing/Exception/Encoding.pm »
1 package Message::Passing::Exception::Decoding;
2 4 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use Data::Dumper ();
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use MooX::Types::MooseLike::Base qw/ Str /;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 with 'Message::Passing::Exception';
8  
9 4 has exception => (
10 is => 'ro',
11 required => 1,
12 isa => Str,
13 );
14  
15 4 has packed_data => (
16 is => 'ro',
17 isa => Str,
18 required => 1,
19 );
20  
21 4 1;
22  
23 =head1 NAME
24  
25 Message::Passing::Exception::Decoding - An issue when decoding data
26  
27 =head1 ATTRIBUTES
28  
29 =head2 exception
30  
31 The exception encountered when trying to encode the message
32  
33 =head2 packed_data
34  
35 The original message.
36  
37 =head1 AUTHOR, COPYRIGHT AND LICENSE
38  
39 See L<Message::Passing>.
40  
41 =cut
42  
« Passing/Exception/ConnectionTimeout.pm ↑ Summary Passing/Exception/Encoding.pm »