| 1 | package VMware::vCloudDirector2::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.107'; # 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 object => ( is => 'ro', isa => 'Object', documentation => 'The object that threw this' ); | |
| 23 | 4 | has request => ( is => 'ro', isa => 'Object', documentation => 'The request object' ); | |
| 24 | |||
| 25 | # ------------------------------------------------------------------------ | ||
| 26 | |||
| 27 | 4 | __PACKAGE__->meta->make_immutable; | |
| 28 | |||
| 29 | 4 | 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 | ||