Lines 8-13
use Exception::Class (
Link Here
|
8 |
'Koha::Exceptions::REST' => { |
8 |
'Koha::Exceptions::REST' => { |
9 |
isa => 'Koha::Exception', |
9 |
isa => 'Koha::Exception', |
10 |
}, |
10 |
}, |
|
|
11 |
'Koha::Exceptions::REST::Public::Authentication::Required' => { |
12 |
description => "This public route requires authentication", |
13 |
}, |
14 |
'Koha::Exceptions::REST::Public::Unauthorized' => { |
15 |
description => "Unprivileged user cannot access another user's resources", |
16 |
}, |
11 |
'Koha::Exceptions::REST::Query::InvalidOperator' => { |
17 |
'Koha::Exceptions::REST::Query::InvalidOperator' => { |
12 |
description => "Invalid operator found in query", |
18 |
description => "Invalid operator found in query", |
13 |
fields => ['operator'] |
19 |
fields => ['operator'] |