ec-jrc / re3gistry

Re3gistry is a reusable open source solution for managing and sharing ‘reference codes’, ensuring semantic interoperability across organisations.
European Union Public License 1.2
29 stars 21 forks source link

Improve the error message when a resource doesnt not exist #176

Closed emanuelaepure10 closed 8 months ago

emanuelaepure10 commented 2 years ago

Please follow the template below and provide at least information for the first 4 sections

Background and Motivation

A better error message could be included when a resource does not exist: for example 404 message. For example: calling an item that doesn't exist https://example.com/register/item_1 should be shown the message that the item does not exist, not he 404 message.

Proposed change

Cache the error that the API gives when an item does not exist and shot it in the webapp.

arantzaetxebarria commented 8 months ago

Close the issue as it is implemented in https://github.com/ec-jrc/re3gistry/issues/233