line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Message::Passing::Exception::Encoding; |
2
|
6
|
|
|
6
|
|
40
|
use Moo; |
|
6
|
|
|
|
|
21
|
|
|
6
|
|
|
|
|
38
|
|
3
|
6
|
|
|
6
|
|
4560
|
use Data::Dumper (); |
|
6
|
|
|
|
|
26499
|
|
|
6
|
|
|
|
|
199
|
|
4
|
6
|
|
|
6
|
|
43
|
use MooX::Types::MooseLike::Base qw/ Str /; |
|
6
|
|
|
|
|
51
|
|
|
6
|
|
|
|
|
395
|
|
5
|
6
|
|
|
6
|
|
440
|
use namespace::clean -except => 'meta'; |
|
6
|
|
|
|
|
8483
|
|
|
6
|
|
|
|
|
56
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
with 'Message::Passing::Exception'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has exception => ( |
10
|
|
|
|
|
|
|
is => 'ro', |
11
|
|
|
|
|
|
|
required => 1, |
12
|
|
|
|
|
|
|
); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
has stringified_data => ( |
15
|
|
|
|
|
|
|
is => 'ro', |
16
|
|
|
|
|
|
|
isa => Str, |
17
|
|
|
|
|
|
|
coerce => sub { |
18
|
|
|
|
|
|
|
Data::Dumper::Dumper($_[0]); |
19
|
|
|
|
|
|
|
}, |
20
|
|
|
|
|
|
|
); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Message::Passing::Exception::Encoding - An issue when encoding data |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head2 exception |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
The exception encountered when trying to encode the message |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head2 stringified_data |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
The original message, dumped using L<Data::Dumper>. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 AUTHOR, COPYRIGHT AND LICENSE |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
See L<Message::Passing>. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |
43
|
|
|
|
|
|
|
|