line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package JSON::WebToken::Exception; |
2
|
|
|
|
|
|
|
|
3
|
8
|
|
|
8
|
|
34
|
use strict; |
|
8
|
|
|
|
|
9
|
|
|
8
|
|
|
|
|
303
|
|
4
|
8
|
|
|
8
|
|
38
|
use warnings; |
|
8
|
|
|
|
|
10
|
|
|
8
|
|
|
|
|
291
|
|
5
|
|
|
|
|
|
|
use overload ( |
6
|
8
|
|
|
|
|
71
|
q|""| => \&to_string, |
7
|
8
|
|
|
8
|
|
39
|
); |
|
8
|
|
|
|
|
11
|
|
8
|
|
|
|
|
|
|
|
9
|
8
|
|
|
8
|
|
505
|
use Carp qw/croak/; |
|
8
|
|
|
|
|
12
|
|
|
8
|
|
|
|
|
1331
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub throw { |
12
|
14
|
|
|
14
|
0
|
41
|
my ($class, %args) = @_; |
13
|
14
|
|
|
|
|
38
|
my $self = bless \%args, $class; |
14
|
14
|
|
|
|
|
348
|
croak $self; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
14
|
|
|
14
|
0
|
4977
|
sub code { $_[0]->{code} } |
18
|
14
|
|
|
14
|
0
|
71
|
sub message { $_[0]->{message} } |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub to_string { |
21
|
14
|
|
|
14
|
0
|
1470
|
$_[0]->message; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
__END__ |