line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::CLI::Extension::Exception; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=pod |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
App::CLI::Extension::Exception - for App::CLI exception module |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 VERSION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
1.421 |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=cut |
14
|
|
|
|
|
|
|
|
15
|
18
|
|
|
18
|
|
92
|
use strict; |
|
18
|
|
|
|
|
32
|
|
|
18
|
|
|
|
|
614
|
|
16
|
18
|
|
|
18
|
|
86
|
use base qw(Error::Simple); |
|
18
|
|
|
|
|
31
|
|
|
18
|
|
|
|
|
14848
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
our $VERSION = '1.421'; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub new { |
21
|
|
|
|
|
|
|
|
22
|
4
|
|
|
4
|
1
|
63
|
my($class, $message) = @_; |
23
|
4
|
|
|
|
|
13
|
chomp $message; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
#local $Error::Depth = $Error::Depth + 1; |
26
|
4
|
|
|
|
|
10
|
local $Error::Depth = $Error::Depth + 2; |
27
|
4
|
|
|
|
|
212
|
local $Error::Debug = 1; |
28
|
4
|
|
|
|
|
56
|
my $self = $class->SUPER::new($message); |
29
|
|
|
|
|
|
|
|
30
|
4
|
|
|
|
|
2952
|
return $self; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |