| line |
l |
!l |
condition |
|
35
|
3 |
1 |
sub {
return $tx->{'error'}{'msg'} unless $self->is_async;
foreach $_ ($type) {
return $tx->error->{'message'} if /agent/u;
return +($tx->res->json // {})->{'description'} if /api/u;
};
}
->() || 'no details available' |
|
76
|
0 |
1 |
$args{'async'} //= 1 |
|
217
|
1 |
1 |
$config->{'offset'} //= 0 |
|
230
|
9 |
16 |
$config // {"timeout", 20, "offset", 0} |
|
232
|
5 |
20 |
$opts{'interval'} // "0.3" |
|
281
|
18 |
3 |
$tx->res->json // {} |
|
285
|
6 |
3 |
eval {
do {
return "api" if $response->{'error_code'};
return "agent" if $tx->error
}
} // "unknown" |