| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Message::Passing::Exception; |
|
2
|
7
|
|
|
7
|
|
16867
|
use Moo::Role; |
|
|
7
|
|
|
|
|
18
|
|
|
|
7
|
|
|
|
|
53
|
|
|
3
|
7
|
|
|
7
|
|
2903
|
use namespace::clean -except => 'meta'; |
|
|
7
|
|
|
|
|
14
|
|
|
|
7
|
|
|
|
|
58
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
sub as_hash { |
|
6
|
4
|
|
|
4
|
1
|
32
|
return { %{ $_[0] }, class => ref($_[0]) } |
|
|
4
|
|
|
|
|
45
|
|
|
7
|
|
|
|
|
|
|
} |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub pack { |
|
10
|
2
|
|
|
2
|
1
|
9
|
$_[0]->as_hash; |
|
11
|
|
|
|
|
|
|
} |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Message::Passing::Exception - Base role for Message::Passing exceptions |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 METHODS |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head2 as_hash |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head2 pack |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Synonyms, which return a flattened (to a hash) object. |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 AUTHOR, COPYRIGHT AND LICENSE |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
See L. |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
|
32
|
|
|
|
|
|
|
|