File Coverage

blib/lib/VMware/vCloudDirector/Error.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 12 83.3


line stmt bran cond sub pod time code
1             package VMware::vCloudDirector::Error;
2              
3             # ABSTRACT: Throw errors with the best of them
4              
5 1     1   1909 use strict;
  1         2  
  1         25  
6 1     1   5 use warnings;
  1         2  
  1         48  
7              
8             our $VERSION = '0.007'; # VERSION
9             our $AUTHORITY = 'cpan:NIGELM'; # AUTHORITY
10              
11 1     1   68 use Moose;
  0            
  0            
12             use Method::Signatures;
13              
14             extends 'Throwable::Error';
15              
16             # ------------------------------------------------------------------------
17              
18             has uri =>
19             ( is => 'ro', isa => 'URI', documentation => 'An optional URI that was being processed' );
20              
21             has response => ( is => 'ro', isa => 'Object', documentation => 'The response object' );
22             has request => ( is => 'ro', isa => 'Object', documentation => 'The request object' );
23              
24             # ------------------------------------------------------------------------
25              
26             __PACKAGE__->meta->make_immutable;
27              
28             1;
29              
30             __END__