Bug 16371: Add needed Koha::Exception

Add Koha::Exception needed in this bug.

Sponsored-by: Koha-Suomi Oy

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Emmi Takkinen 2020-04-07 11:53:17 +03:00 committed by Jonathan Druart
parent 77d97dc60e
commit a923dccab3
1 changed files with 4 additions and 0 deletions

View File

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