From 197a1f5f3d31b8bf77d5b85e7457660a3a975616 Mon Sep 17 00:00:00 2001 From: Emmi Takkinen Date: Mon, 23 Mar 2020 12:11:21 +0200 Subject: [PATCH 1/5] Bug 14698: Add needed Koha::Exceptions --- Koha/Exceptions.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Koha/Exceptions.pm b/Koha/Exceptions.pm index cf56b220ef..e9c1cf8771 100644 --- a/Koha/Exceptions.pm +++ b/Koha/Exceptions.pm @@ -50,6 +50,14 @@ use Exception::Class ( isa => 'Koha::Exceptions::Exception', description => 'Koha is under maintenance.' }, + 'Koha::Exceptions::File' => { + isa => 'Koha::Exceptions::Exception', + description => 'Something wrong with the given file', + }, + 'Koha::Exceptions::Parse' => { + isa => 'Koha::Exceptions::Exception', + description => 'Parsing the given input failed', + }, # Virtualshelves exceptions 'Koha::Exceptions::Virtualshelves::DuplicateObject' => { isa => 'Koha::Exceptions::DuplicateObject', -- 2.17.1