From a923dccab30c2a87cd1f14b60280cf31f8c4f62e 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- 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.39.5