You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When something goes wrong, the user should be informed through the GUI with a "user friendly" description. That way the user knows what has or did not happen and can act accordingly.
Implementation notes
Errors the user can run into through the GUI have to be made "user friendly" and translatable (for the babel translations).
The NLDS has nice options for showing errors.
Verify all exceptions are correctly handled, so default exceptions may be rewritten to the correct exceptions and translations have to be added. Pydantic exceptions can be excluded for now (errors like the one below when creating a new project)
Exceptions
CURRENT: "Settings error for options {field}"
NL: “Er is een fout opgetreden bij het instellen van de opties voor ‘{field}’. Controleer de instellingen en probeer het opnieuw.”
EN: “An error occurred while configuring the options for ‘{field}’. Please check the settings and try again.””
2. HTTP_500_INTERNAL_SERVER_ERROR
CURRENT: _"Repository error"
NL: "Er is een interne serverfout opgetreden bij het verwerken van uw verzoek. Probeer het later opnieuw."
EN: “An internal server error occurred while processing your request. Please try again later.”
3. HTTP_501_NOT_IMPLEMENTED
CURRENT: "Instrument error"
NL: “Deze functie is momenteel niet beschikbaar. Probeer het later opnieuw of neem contact op met de ondersteuning.”
EN: “This feature is currently not available. Please try again later or contact support.”
4. HTTP_400_BAD_REQUEST
CURRENT: "Unsafe file error for file"
NL: “Het bestand dat u probeert te uploaden is onveilig of niet toegestaan. Controleer het bestand en probeer opnieuw.”
EN: “The file you are trying to upload is unsafe or not allowed. Please check the file and try again.”
5. (HTTP 204 No Content)
CURRENT: "No Entity Found"
NL: “Er zijn geen gegevens gevonden voor uw verzoek. Controleer uw zoekcriteria en probeer het opnieuw.”
EN: “No data was found for your request. Please check your search criteria and try again.”
6. HTTP_404_NOT_FOUND
CURRENT: "Not found"
NL: “De gevraagde pagina of bron kon niet worden gevonden. Controleer de URL en probeer het opnieuw.”
EN: “The requested page or resource could not be found. Please check the URL and try again.”
The text was updated successfully, but these errors were encountered:
Description
When something goes wrong, the user should be informed through the GUI with a "user friendly" description. That way the user knows what has or did not happen and can act accordingly.
Implementation notes
Errors the user can run into through the GUI have to be made "user friendly" and translatable (for the babel translations).
The NLDS has nice options for showing errors.
Verify all exceptions are correctly handled, so default exceptions may be rewritten to the correct exceptions and translations have to be added. Pydantic exceptions can be excluded for now (errors like the one below when creating a new project)
Exceptions
CURRENT: "Settings error for options {field}"
NL: “Er is een fout opgetreden bij het instellen van de opties voor ‘{field}’. Controleer de instellingen en probeer het opnieuw.”
EN: “An error occurred while configuring the options for ‘{field}’. Please check the settings and try again.””
2. HTTP_500_INTERNAL_SERVER_ERROR
CURRENT: _"Repository error"
NL: "Er is een interne serverfout opgetreden bij het verwerken van uw verzoek. Probeer het later opnieuw."
EN: “An internal server error occurred while processing your request. Please try again later.”
3. HTTP_501_NOT_IMPLEMENTED
CURRENT: "Instrument error"
NL: “Deze functie is momenteel niet beschikbaar. Probeer het later opnieuw of neem contact op met de ondersteuning.”
EN: “This feature is currently not available. Please try again later or contact support.”
4. HTTP_400_BAD_REQUEST
CURRENT: "Unsafe file error for file"
NL: “Het bestand dat u probeert te uploaden is onveilig of niet toegestaan. Controleer het bestand en probeer opnieuw.”
EN: “The file you are trying to upload is unsafe or not allowed. Please check the file and try again.”
5. (HTTP 204 No Content)
CURRENT: "No Entity Found"
NL: “Er zijn geen gegevens gevonden voor uw verzoek. Controleer uw zoekcriteria en probeer het opnieuw.”
EN: “No data was found for your request. Please check your search criteria and try again.”
6. HTTP_404_NOT_FOUND
CURRENT: "Not found"
NL: “De gevraagde pagina of bron kon niet worden gevonden. Controleer de URL en probeer het opnieuw.”
EN: “The requested page or resource could not be found. Please check the URL and try again.”
The text was updated successfully, but these errors were encountered: