1 package Koha
::Exceptions
;
7 'Koha::Exceptions::Exception' => {
8 description
=> 'Something went wrong!',
11 'Koha::Exceptions::DuplicateObject' => {
12 isa
=> 'Koha::Exceptions::Exception',
13 description
=> 'Same object already exists',
16 'Koha::Exceptions::Virtualshelves::DuplicateObject' => {
17 isa
=> 'Koha::Exceptions::DuplicateObject',
18 description
=> "Duplicate shelf object",
20 'Koha::Exceptions::Virtualshelves::InvalidInviteKey' => {
21 isa
=> 'Koha::Exceptions::Exception',
22 description
=> 'Invalid key on accepting the share',
24 'Koha::Exceptions::Virtualshelves::InvalidKeyOnSharing' => {
25 isa
=> 'Koha::Exceptions::Exception',
26 description
=> 'Invalid key on sharing a shelf',
28 'Koha::Exceptions::Virtualshelves::ShareHasExpired' => {
29 isa
=> 'Koha::Exceptions::Exception',
30 description
=> 'Cannot share this shelf, the share has expired',
32 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' => {
33 isa
=> 'Koha::Exceptions::Exception',
34 description
=> "Invalid use of database administrator account",