Bug 32334: Add general exception FileNotFound
No test plan. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
dc16d53d57
commit
d9aaf9f986
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,11 @@ use Exception::Class (
|
|||
isa => 'Koha::Exception',
|
||||
description => 'Same object already exists',
|
||||
},
|
||||
'Koha::Exceptions::FileNotFound' => {
|
||||
isa => 'Koha::Exception',
|
||||
description => 'File not found',
|
||||
fields => ['filename'],
|
||||
},
|
||||
'Koha::Exceptions::InvalidStatus' => {
|
||||
isa => 'Koha::Exception',
|
||||
description => 'The current status is not valid in context',
|
||||
|
|
Loading…
Reference in a new issue