line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package VMware::vCloudDirector2::Error; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: Throw errors with the best of them |
4
|
|
|
|
|
|
|
|
5
|
4
|
|
|
4
|
|
28
|
use strict; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
135
|
|
6
|
4
|
|
|
4
|
|
52
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
191
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.107'; # VERSION |
9
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:NIGELM'; # AUTHORITY |
10
|
|
|
|
|
|
|
|
11
|
4
|
|
|
4
|
|
26
|
use Moose; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
40
|
|
12
|
4
|
|
|
4
|
|
30284
|
use Method::Signatures; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
43
|
|
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 object => ( is => 'ro', isa => 'Object', documentation => 'The object that threw this' ); |
23
|
|
|
|
|
|
|
has request => ( is => 'ro', isa => 'Object', documentation => 'The request object' ); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
# ------------------------------------------------------------------------ |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=pod |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=encoding UTF-8 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 NAME |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
VMware::vCloudDirector2::Error - Throw errors with the best of them |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 VERSION |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
version 0.107 |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 AUTHOR |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Nigel Metheringham <nigelm@cpan.org> |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
This software is copyright (c) 2019 by Nigel Metheringham. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
54
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=cut |