File Coverage

lib/Net/API/Stripe/Exception.pm
Criterion Covered Total %
statement 10 11 90.9
branch n/a
condition n/a
subroutine 4 5 80.0
pod 1 1 100.0
total 15 17 88.2


line stmt bran cond sub pod time code
1             ##----------------------------------------------------------------------------
2             ## Stripe API - ~/lib/HTTP/Promise/Exception.pm
3             ## Version v0.1.0
4             ## Copyright(c) 2022 DEGUEST Pte. Ltd.
5             ## Author: Jacques Deguest <jack@deguest.jp>
6             ## Created 2022/10/18
7             ## Modified 2022/10/18
8             ## All rights reserved
9             ##
10             ## This program is free software; you can redistribute it and/or modify it
11             ## under the same terms as Perl itself.
12             ##----------------------------------------------------------------------------
13             BEGIN
14             {
15             use strict;
16 1     1   912 use warnings;
  1         1  
  1         30  
17 1     1   4 use parent qw( Module::Generic::Exception );
  1         2  
  1         27  
18 1     1   5 our $VERSION = 'v0.1.0';
  1         2  
  1         5  
19 1     1   119 };
20              
21              
22 0     0 1   1;
23             # NOTE: POD
24              
25             =encoding utf-8
26              
27             =head1 NAME
28              
29             Net::API::Stripe::Exception - Stripe Exception
30              
31             =head1 SYNOPSIS
32              
33             use Net::API::Stripe::Exception;
34             my $this = Net::API::Stripe::Exception->new( $error_message ) ||
35             die( Net::API::Stripe::Exception->error, "\n" );
36              
37             =head1 VERSION
38              
39             v0.1.0
40              
41             =head1 DESCRIPTION
42              
43             This class inherits all its methods from L<Module::Generic::Exception>
44              
45             =head1 METHODS
46              
47             Please see L<Module::Generic::Exception> for details.
48              
49             =head2 request_log_url
50              
51             The uri in the dashboard to get details about the error that occurred.
52              
53             =head1 AUTHOR
54              
55             Jacques Deguest E<lt>F<jack@deguest.jp>E<gt>
56              
57             =head1 SEE ALSO
58              
59             L<Module::Generic::Exception>
60              
61             L<Net::API::Stripe>
62              
63             =head1 COPYRIGHT & LICENSE
64              
65             Copyright(c) 2022 DEGUEST Pte. Ltd.
66              
67             All rights reserved.
68              
69             This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
70              
71             =cut