File Coverage

blib/lib/Stancer/Exceptions/Http/NotFound.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1             package Stancer::Exceptions::Http::NotFound;
2              
3 6     6   230642 use 5.020;
  6         27  
4 6     6   37 use strict;
  6         13  
  6         178  
5 6     6   44 use warnings;
  6         16  
  6         517  
6              
7             # ABSTRACT: HTTP 404 - Not found error
8             our $VERSION = '1.0.3'; # VERSION
9              
10 6     6   728 use Moo;
  6         11583  
  6         61  
11              
12             extends 'Stancer::Exceptions::Http::ClientSide';
13              
14 6     6   6503 use namespace::clean;
  6         20610  
  6         49  
15              
16             1;
17              
18             __END__
19              
20             =pod
21              
22             =encoding UTF-8
23              
24             =head1 NAME
25              
26             Stancer::Exceptions::Http::NotFound - HTTP 404 - Not found error
27              
28             =head1 VERSION
29              
30             version 1.0.3
31              
32             =head1 USAGE
33              
34             =head2 Logging
35              
36              
37              
38             We use the L<Log::Any> framework for logging events.
39             You may tell where it should log using any available L<Log::Any::Adapter> module.
40              
41             For example, to log everything to a file you just have to add a line to your script, like this:
42             #! /usr/bin/env perl
43             use Log::Any::Adapter (File => '/var/log/payment.log');
44             use Stancer::Exceptions::Http::NotFound;
45              
46             You must import C<Log::Any::Adapter> before our libraries, to initialize the logger instance before use.
47              
48             You can choose your log level on import directly:
49             use Log::Any::Adapter (File => '/var/log/payment.log', log_level => 'info');
50              
51             Read the L<Log::Any> documentation to know what other options you have.
52              
53             =cut
54              
55             =head1 SECURITY
56              
57             =over
58              
59             =item *
60              
61             Never, never, NEVER register a card or a bank account number in your database.
62              
63             =item *
64              
65             Always uses HTTPS in card/SEPA in communication.
66              
67             =item *
68              
69             Our API will never give you a complete card/SEPA number, only the last four digits.
70             If you need to keep track, use these last four digit.
71              
72             =back
73              
74             =cut
75              
76             =head1 BUGS
77              
78             Please report any bugs or feature requests on the bugtracker website
79             L<https://gitlab.com/wearestancer/library/lib-perl/-/issues> or by email to
80             L<bug-stancer@rt.cpan.org|mailto:bug-stancer@rt.cpan.org>.
81              
82             When submitting a bug or request, please include a test-file or a
83             patch to an existing test-file that illustrates the bug or desired
84             feature.
85              
86             =head1 AUTHOR
87              
88             Joel Da Silva <jdasilva@cpan.org>
89              
90             =head1 COPYRIGHT AND LICENSE
91              
92             This software is Copyright (c) 2018-2024 by Stancer / Iliad78.
93              
94             This is free software, licensed under:
95              
96             The Artistic License 2.0 (GPL Compatible)
97              
98             =cut