From 1d0b932cc7d6b774552f4ae4f9c36cbdd640402d Mon Sep 17 00:00:00 2001 From: Emmi Takkinen Date: Tue, 7 Apr 2020 11:53:17 +0300 Subject: [PATCH 1/3] Bug 16371: Add needed Koha::Exception Add Koha::Exception needed in this bug. Sponsored-by: Koha-Suomi Oy --- Koha/Exceptions.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Koha/Exceptions.pm b/Koha/Exceptions.pm index cf56b220ef..c811b9775a 100644 --- a/Koha/Exceptions.pm +++ b/Koha/Exceptions.pm @@ -50,6 +50,10 @@ use Exception::Class ( isa => 'Koha::Exceptions::Exception', description => 'Koha is under maintenance.' }, + 'Koha::Exceptions::UnknownProgramState' => { + isa => 'Koha::Exceptions::Exception', + description => 'The running program has done something terribly unpredicatable', + }, # Virtualshelves exceptions 'Koha::Exceptions::Virtualshelves::DuplicateObject' => { isa => 'Koha::Exceptions::DuplicateObject', -- 2.17.1