View | Details | Raw Unified | Return to bug 37018
Collapse All | Expand All

(-)a/Koha/Exceptions/REST.pm (-1 / +33 lines)
Line 0 Link Here
0
- 
1
package Koha::Exceptions::REST;
2
3
use Modern::Perl;
4
5
use Koha::Exception;
6
7
use Exception::Class (
8
    'Koha::Exceptions::REST' => {
9
        isa => 'Koha::Exception',
10
    },
11
    'Koha::Exceptions::REST::Query::InvalidOperator' => {
12
        description => "Invalid operator found in query",
13
        fields      => ['operator']
14
    },
15
);
16
17
=head1 NAME
18
19
Koha::Exceptions::REST - Base class for REST API exceptions
20
21
=head1 Exceptions
22
23
=head2 Koha::Exceptions::REST
24
25
Generic REST API exception.
26
27
=head2 Koha::Exceptions::REST::Query::InvalidOperator
28
29
The passed query is not allowed.
30
31
=cut
32
33
1;

Return to bug 37018