line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Datahub::Factory::Error; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
6
|
use Datahub::Factory::Sane; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.77'; |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
452
|
use Moo; |
|
1
|
|
|
|
|
8312
|
|
|
1
|
|
|
|
|
3
|
|
8
|
1
|
|
|
1
|
|
1544
|
use namespace::clean; |
|
1
|
|
|
|
|
7544
|
|
|
1
|
|
|
|
|
5
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
extends 'Throwable::Error'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
with 'Datahub::Factory::Logger'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
has message => (is => 'ro', default => sub {""},); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub BUILD { |
17
|
0
|
|
|
0
|
0
|
|
my ($self) = @_; |
18
|
0
|
|
|
|
|
|
my $msg = $self->log_message; |
19
|
0
|
0
|
|
|
|
|
if ($self->log->is_debug) { |
20
|
0
|
|
|
|
|
|
$msg .= "\n\n" . $self->stack_trace->as_string; |
21
|
|
|
|
|
|
|
} |
22
|
0
|
|
|
|
|
|
$self->log->error($msg); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub log_message { |
26
|
0
|
|
|
0
|
0
|
|
my ($self) = @_; |
27
|
0
|
|
|
|
|
|
$self->message; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
package Datahub::Factory::InvalidCondition; |
31
|
|
|
|
|
|
|
|
32
|
1
|
|
|
1
|
|
331
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
33
|
1
|
|
|
1
|
|
252
|
use namespace::clean; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
3
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
extends 'Datahub::Factory::Error'; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
package Datahub::Factory::InvalidPipeline; |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
219
|
use Datahub::Factory::Sane; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
40
|
|
|
|
|
|
|
|
41
|
1
|
|
|
1
|
|
5
|
use Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
42
|
1
|
|
|
1
|
|
248
|
use namespace::clean; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
3
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
extends 'Datahub::Factory::Error'; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
package Datahub::Factory::FixFileNotFound; |
47
|
|
|
|
|
|
|
|
48
|
1
|
|
|
1
|
|
240
|
use Datahub::Factory::Sane; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
15
|
|
49
|
|
|
|
|
|
|
|
50
|
1
|
|
|
1
|
|
10
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
51
|
1
|
|
|
1
|
|
230
|
use namespace::clean; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
3
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
extends 'Datahub::Factory::Error'; |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
package Datahub::Factory::ModuleNotFound; |
56
|
|
|
|
|
|
|
|
57
|
1
|
|
|
1
|
|
216
|
use Datahub::Factory::Sane; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
16
|
|
58
|
|
|
|
|
|
|
|
59
|
1
|
|
|
1
|
|
16
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
3
|
|
60
|
1
|
|
|
1
|
|
249
|
use namespace::clean; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
3
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
extends 'Datahub::Factory::Error'; |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
1; |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
__END__ |
67
|
|
|
|
|
|
|
|