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',