line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package JSON::WebToken::Exception; |
2
|
|
|
|
|
|
|
|
3
|
9
|
|
|
9
|
|
48
|
use strict; |
|
9
|
|
|
|
|
14
|
|
|
9
|
|
|
|
|
367
|
|
4
|
9
|
|
|
9
|
|
46
|
use warnings; |
|
9
|
|
|
|
|
17
|
|
|
9
|
|
|
|
|
406
|
|
5
|
|
|
|
|
|
|
use overload ( |
6
|
9
|
|
|
|
|
98
|
q|""| => \&to_string, |
7
|
9
|
|
|
9
|
|
46
|
); |
|
9
|
|
|
|
|
17
|
|
8
|
|
|
|
|
|
|
|
9
|
9
|
|
|
9
|
|
567
|
use Carp qw/croak/; |
|
9
|
|
|
|
|
16
|
|
|
9
|
|
|
|
|
1800
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub throw { |
12
|
11
|
|
|
11
|
0
|
48
|
my ($class, %args) = @_; |
13
|
11
|
|
|
|
|
42
|
my $self = bless \%args, $class; |
14
|
11
|
|
|
|
|
336
|
croak $self; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
11
|
|
|
11
|
0
|
9467
|
sub code { $_[0]->{code} } |
18
|
11
|
|
|
11
|
0
|
62
|
sub message { $_[0]->{message} } |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub to_string { |
21
|
11
|
|
|
11
|
0
|
1601
|
$_[0]->message; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
__END__ |