From 6f5175e4b9b3f101c02be6b4db0668b6c6b25629 Mon Sep 17 00:00:00 2001 From: Emmi Takkinen Date: Tue, 7 Apr 2020 11:53:17 +0300 Subject: [PATCH] Bug 16371: Add needed Koha::Exception Add Koha::Exception needed in this bug. Sponsored-by: Koha-Suomi Oy Signed-off-by: David Nind Signed-off-by: David Nind --- 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.11.0