From: Emmi Takkinen Date: Tue, 7 Apr 2020 08:53:17 +0000 (+0300) Subject: Bug 16371: Add needed Koha::Exception X-Git-Tag: v20.11.00~1342 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;ds=sidebyside;h=a923dccab30c2a87cd1f14b60280cf31f8c4f62e;p=koha-ffzg.git 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 --- 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',