File Coverage

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