Internal Errors (5XX) - should return a generic message.
Client Errors (4XX) - should return a more specific message so the client will know what the fault was and how to fix it.
Ensure that all of the errors are logged in detail with traceID and relevant values.
Error codes should match the error that occured.
Internal Errors (5XX) - should return a generic message. Client Errors (4XX) - should return a more specific message so the client will know what the fault was and how to fix it.
Ensure that all of the errors are logged in detail with traceID and relevant values.