« Business/CyberSource/Exception/NotACreditCard.pm
↑ Summary
Business/CyberSource/Exception/SOAPFault.pm »
| 1 | package Business::CyberSource::Exception; | ||
| 2 | 8 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 8 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 8 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 8 | our $VERSION = '0.010007'; # VERSION | |
| 7 | |||
| 8 | 8 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 8 | extends 'Moose::Exception'; | |
| 10 | |||
| 11 | 8 | our @CARP_NOT = ( 'Class::MOP::Method::Wrapped', __PACKAGE__ ); | |
| 12 | |||
| 13 | 8 | has value => ( | |
| 14 | isa => 'Int', | ||
| 15 | is => 'ro', | ||
| 16 | lazy => 1, | ||
| 17 | default => 0, | ||
| 18 | ); | ||
| 19 | |||
| 20 | before value => sub { | ||
| 21 | 0 | ▶ | warnings::warnif('deprecated', |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 22 | 'method `value` is deprecated as Exception::Base is no longer in use' | ||
| 23 | ); | ||
| 24 | 8 | }; | |
| 25 | |||
| 26 | 8 | __PACKAGE__->meta->make_immutable; | |
| 27 | 8 | 1; | |
| 28 | # ABSTRACT: base exception | ||
| 29 | |||
| 30 | __END__ | ||
| 31 | |||
| 32 | =pod | ||
| 33 | |||
| 34 | =encoding UTF-8 | ||
| 35 | |||
| 36 | =head1 NAME | ||
| 37 | |||
| 38 | Business::CyberSource::Exception - base exception | ||
| 39 | |||
| 40 | =head1 VERSION | ||
| 41 | |||
| 42 | version 0.010007 | ||
| 43 | |||
| 44 | =head1 BUGS | ||
| 45 | |||
| 46 | Please report any bugs or feature requests on the bugtracker website | ||
| 47 | https://github.com/xenoterracide/business-cybersource/issues | ||
| 48 | |||
| 49 | When submitting a bug or request, please include a test-file or a | ||
| 50 | patch to an existing test-file that illustrates the bug or desired | ||
| 51 | feature. | ||
| 52 | |||
| 53 | =head1 AUTHOR | ||
| 54 | |||
| 55 | Caleb Cushing <xenoterracide@gmail.com> | ||
| 56 | |||
| 57 | =head1 COPYRIGHT AND LICENSE | ||
| 58 | |||
| 59 | This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>. | ||
| 60 | |||
| 61 | This is free software, licensed under: | ||
| 62 | |||
| 63 | The Artistic License 2.0 (GPL Compatible) | ||
| 64 | |||
| 65 | =cut | ||