Bug 16330: Add routes to add, update and delete patrons
[koha-ffzg.git] / Koha / Exceptions / Library.pm
1 package Koha::Exceptions::Library;
2
3 use Modern::Perl;
4
5 use Exception::Class (
6
7     'Koha::Exceptions::Library' => {
8         description => 'Something went wrong!',
9     },
10     'Koha::Exceptions::Library::BranchcodeNotFound' => {
11         isa => 'Koha::Exceptions::Library',
12         description => "Library does not exist",
13         fields => ["branchcode"],
14     },
15 );
16
17 1;