[REDMINE1D-350] [RM-8455] Differentiate input API errors from programming errors Created: 07/Nov/23  Updated: 05/Dec/23

Status: Open
Project: 1D Redmine
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: Redmine-Jira Migtation Assignee: Redmine-Jira Migtation
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Created on 2023-11-06 13:08:52 by Fanny Dufresne. % Done: 0

It would be interesting to separate the errors we raise:

  • The API errors caused by wrong input from the user
  • The errors aimed at the developers (we are somewhere in the code where we shouldn't be). We can make a parallel with error code 500 for the web

We could add a new error code (internal error) with a generic error message + a log intended to the developers with detailed infos

To discuss


Generated at Sat Feb 10 15:31:49 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.