OpenGbg/Exceptions.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« OpenGbg/Elk.pm ↑ Summary OpenGbg/Service/AirQuality/GetMeasurements.pm »
1 11 ▶use 5.10.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 11 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package OpenGbg::Exceptions;
6  
7 11 our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
8 11 our $VERSION = '0.1404';
9  
10 11 ▶use Throwable::SugarFactory;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 11 exception BadResponseFromService
13 => 'Failed to get response from service'
14 => has => [service => (is => 'ro')]
15 => has => [url => (is => 'ro')]
16 => has => [status => (is => 'ro')]
17 => has => [reason => (is => 'ro')]
18 ;
19  
20 11 1;
21  
22 __END__
« OpenGbg/Elk.pm ↑ Summary OpenGbg/Service/AirQuality/GetMeasurements.pm »