Koha-clms/Koha/Exceptions/Elasticsearch.pm

18 lines
403 B
Perl

package Koha::Exceptions::Elasticsearch;
use Modern::Perl;
use Exception::Class (
'Koha::Exceptions::Elasticsearch' => {
description => 'Something went wrong!',
},
'Koha::Exceptions::Elasticsearch::MARCFieldExprParseError' => {
isa => 'Koha::Exceptions::Elasticsearch',
description => 'Parse error while processing MARC field expression in mapping',
}
);
1;