line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Message::Passing::Exception; |
2
|
7
|
|
|
7
|
|
14129
|
use Moo::Role; |
|
7
|
|
|
|
|
16
|
|
|
7
|
|
|
|
|
54
|
|
3
|
7
|
|
|
7
|
|
2491
|
use namespace::clean -except => 'meta'; |
|
7
|
|
|
|
|
17
|
|
|
7
|
|
|
|
|
50
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
sub as_hash { |
6
|
4
|
|
|
4
|
1
|
26
|
return { %{ $_[0] }, class => ref($_[0]) } |
|
4
|
|
|
|
|
30
|
|
7
|
|
|
|
|
|
|
} |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub pack { |
10
|
2
|
|
|
2
|
1
|
8
|
$_[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
|
|
|
|
|
|
|
|