From 8dee0ed572a8b22c7846b4c6c0c062cfb3b2b2de Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Tue, 11 Apr 2023 12:40:59 +0000 Subject: [PATCH] Bug 33482: Add Unsupported Media Type exception --- Koha/Exceptions.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Koha/Exceptions.pm b/Koha/Exceptions.pm index 80156abee7c..5e878d967ef 100644 --- a/Koha/Exceptions.pm +++ b/Koha/Exceptions.pm @@ -65,6 +65,10 @@ use Exception::Class ( isa => 'Koha::Exception', description => 'General problem adding a library limit' }, + 'Koha::Exceptions::UnsupportedMediaType' => { + isa => 'Koha::Exception', + description => 'The media format of the requested data is not supported by the server', + }, 'Koha::Exceptions::UnderMaintenance' => { isa => 'Koha::Exception', description => 'Koha is under maintenance.' -- 2.30.2