vCloudDirector/Error.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 24 / 24 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« vCloudDirector.pm ↑ Summary
1 package VMware::vCloudDirector::Error;
2  
3 # ABSTRACT: Throw errors with the best of them
4  
5 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 4 our $VERSION = '0.007'; # VERSION
9 4 our $AUTHORITY = 'cpan:NIGELM'; # AUTHORITY
10  
11 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 4 ▶use Method::Signatures;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 4 extends 'Throwable::Error';
15  
16 # ------------------------------------------------------------------------
17  
18 4 has uri =>
19 ( is => 'ro', isa => 'URI', documentation => 'An optional URI that was being processed' );
20  
21 4 has response => ( is => 'ro', isa => 'Object', documentation => 'The response object' );
22 4 has request => ( is => 'ro', isa => 'Object', documentation => 'The request object' );
23  
24 # ------------------------------------------------------------------------
25  
26 4 __PACKAGE__->meta->make_immutable;
27  
28 4 1;
29  
30 __END__
31  
32 =pod
33  
34 =encoding UTF-8
35  
36 =head1 NAME
37  
38 VMware::vCloudDirector::Error - Throw errors with the best of them
39  
40 =head1 VERSION
41  
42 version 0.007
43  
44 =head1 AUTHOR
45  
46 Nigel Metheringham <nigelm@cpan.org>
47  
48 =head1 COPYRIGHT AND LICENSE
49  
50 This software is copyright (c) 2017 by Nigel Metheringham.
51  
52 This is free software; you can redistribute it and/or modify it under
53 the same terms as the Perl 5 programming language system itself.
54  
55 =cut
« vCloudDirector.pm ↑ Summary