meateam / api-gateway

api gateway
Apache License 2.0
10 stars 4 forks source link

return more correct and meaningful errors #188

Closed yonatandt closed 3 years ago

yonatandt commented 3 years ago

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.

Shahar-Y commented 3 years ago

duplicate of #144