Bug 19893: Add code review fixes
[koha.git] / Koha / Exceptions / Elasticsearch.pm
1 package Koha::Exceptions::Elasticsearch;
2
3 use Modern::Perl;
4
5 use Exception::Class (
6
7     'Koha::Exceptions::Elasticsearch' => {
8         description => 'Something went wrong!',
9     },
10     'Koha::Exceptions::Elasticsearch::MARCFieldExprParseError' => {
11         isa => 'Koha::Exceptions::Elasticsearch',
12         description => 'Parse error while processing MARC field expression in mapping',
13     }
14
15 );
16
17 1;