Bug 31378: Add 'parameter' parameter to Koha::Exceptions::MissingParameter

Signed-off-by: Lukasz Koszyk <lukasz.koszyk@kit.edu>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomás Cohen Arazi 2022-08-30 10:19:24 -03:00
parent f3a4e312e2
commit 58d66c35df
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -42,7 +42,8 @@ use Exception::Class (
},
'Koha::Exceptions::MissingParameter' => {
isa => 'Koha::Exception',
description => 'A required parameter is missing'
description => 'A required parameter is missing',
fields => ['parameter'],
},
'Koha::Exceptions::ParameterTooHigh' => {
isa => 'Koha::Exception',